mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
implemented attitude estimation graph
This commit is contained in:
parent
57e14001e8
commit
464b37a613
1 changed files with 4 additions and 0 deletions
|
@ -3607,6 +3607,10 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
|
||||||
sbufWriteU8(dst, tmp_u8 );
|
sbufWriteU8(dst, tmp_u8 );
|
||||||
sbufWriteU32(dst, debug[simulatorData.debugIndex]);
|
sbufWriteU32(dst, debug[simulatorData.debugIndex]);
|
||||||
|
|
||||||
|
sbufWriteU16(dst, attitude.values.roll);
|
||||||
|
sbufWriteU16(dst, attitude.values.pitch);
|
||||||
|
sbufWriteU16(dst, attitude.values.yaw);
|
||||||
|
|
||||||
mspWriteSimulatorOSD(dst);
|
mspWriteSimulatorOSD(dst);
|
||||||
|
|
||||||
*ret = MSP_RESULT_ACK;
|
*ret = MSP_RESULT_ACK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue