Comments (3)
@clashpunk, I've been away from inav for a while, so I am not super aware of the bleeding edge, but I know it now has SITL and HITL, maybe they even have a new flight mode more like arducopter where you can enable autonomous control as you want.
What we have been doing is to control everything from the on-board computer (RPI or other). When we want manual control, we send the commands to the on-board computer and it sends the commands to the FC as if it was an MSP-based RC. Our safety is based on the failsafe mode because as soon as the on-board computer stops sending commands to the FC, the FC will enter into failsafe.
You can also have a look at the msp_override_channels, it may be useful if you want to keep control of certain things (I haven't tried it yet).
from yamspy.
@ricardodeazambuja, what can be done to have a betaflight flight controller accept BOTH the output of the user's transmitter (manual flight) and the on-board computer (e.g. PI) during flight? If the PI unexpectedly freezes or shuts down mid-flight, then the user can take over and likewise via manual remote and likewise if a user loses a signal, the PI will take over.
If this is not possible, can the PI boot up in midflight and take over and then give back control to the user and shut down. Or will the drone crash when this is attempted mid-flight?
Also, you said once the on-board computer stops sending commands to the FC, the FC will enter into failsafe. What will happen to the drone if it enters failsafe mid-flight? Is it possible to configure this failsafe to switch the receiver from MSP to the default one (one used by the user)?
Thank you for your work on this.
from yamspy.
Have a look at this (old) discussion: betaflight/betaflight#8292
from yamspy.
Related Issues (20)
- Angle mode HOT 39
- Change PS4 joystick example code to use curses
- Allow to change the gains/values from analog sticks in the PS4 joystick example code
- Omnibus F4 V3 connection with Raspberry pi4 by using MSP HOT 7
- Example code working on Linux but not working on Windows Pycharm HOT 2
- Documentation missing HOT 1
- Error sending data and receiving imu data HOT 26
- inav communication HOT 3
- work without a loop HOT 14
- MSP over UART (Pins) HOT 3
- AssertionError: There's something wrong with the serial connection... check the logfile! HOT 10
- communication with INAV HOT 7
- Joystick Event Values Problem HOT 2
- Issues with arming using custom code HOT 2
- Sending GPS to the FC HOT 9
- Add type hints and test mypyc
- How to communicate with FC fast? HOT 5
- Altitude reading HOT 3
- The code works correctly or not on my microcontroller F411 NOXE V3 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yamspy.