-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to communicate with FC fast? #23
Comments
My first suggestion is to try this branch: https://github.com/thecognifly/YAMSPy/tree/yb/stable |
@ricardodeazambuja hi, I am using this library for an autonomous drone project, I am trying to understand how fast I can read accelerometer and gyroscope readings and send RC commands. So far it seems that the MSP communication with the flight controller maxes out at about 62.5Hz. I tested this using the script in |
Hi @Tuxliri. The max frequency you can get depends on many factors. What is the microcontroller that your FC uses? Is it F7 or F4? You can also have a look at the frequencies reported by the inav-configurator to have an idea. |
Thanks for the quick reply @ricardodeazambuja , I have been using Betaflight on an F4 board (SPEEDYBEEF405V3), did you manage to achieve high-frequency communication with it? I am considering moving to iNAV or Arducopter (using MAVLink) if this is not possible. |
If you want to use MSP and cheap flight controllers, iNAV is the best option. |
When I'm running commands like
MSP_BOARD_INFO
it takes good 5-10 seconds to process each command. Is that normal?What is the proper way to get fast accel/gyro values from FC? Say 100 times per second.
The text was updated successfully, but these errors were encountered: