Obtaining roll, pitch and yaw angles #13359
Replies: 3 comments
-
@SteveCEvans Thank you very much for your answer, but I don’t understand how this will help me. @haslinghuis Please tell me how I can get heading and pitch data in |
Beta Was this translation helpful? Give feedback.
-
@SteveCEvans, I figured out a little bit about getting data from the flight controller with BF firmware.
The protocol code is formatted as a class.
Or is it difficult to implement and is it better to add a new library of
Could you recommend someone who could help me figure out my question if this is not your specialty? |
Beta Was this translation helpful? Give feedback.
-
I wrote my own protocol for exchange between devices.
The values of roll, pitch and yaw are transmitted to the protocol
And at the output I get a line to the serial port.
!031+002-80+3E
I looked at the betaflight source code and can’t find the entry points yet.
These files process data from the gyroscope and accelerometer, but I don’t understand how they are transmitted further to telemetry and how I can intercept them and send them to my protocol for output to the
RX
andTX
pins.Tell me where to start, perhaps ask me some questions, to complete the picture.
Thank you community!
Beta Was this translation helpful? Give feedback.
All reactions