mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 00:35:34 +03:00
Drop the old HIL
This commit is contained in:
parent
1b003cc861
commit
71ab3c405f
8 changed files with 1 additions and 184 deletions
|
@ -72,7 +72,6 @@
|
|||
|
||||
#include "flight/failsafe.h"
|
||||
#include "flight/imu.h"
|
||||
#include "flight/hil.h"
|
||||
#include "flight/mixer.h"
|
||||
#include "flight/pid.h"
|
||||
#include "flight/servos.h"
|
||||
|
@ -398,15 +397,6 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
|
|||
sbufWriteData(dst, shortGitRevision, GIT_SHORT_REVISION_LENGTH);
|
||||
break;
|
||||
|
||||
#ifdef HIL
|
||||
case MSP_HIL_STATE:
|
||||
sbufWriteU16(dst, hilToSIM.pidCommand[ROLL]);
|
||||
sbufWriteU16(dst, hilToSIM.pidCommand[PITCH]);
|
||||
sbufWriteU16(dst, hilToSIM.pidCommand[YAW]);
|
||||
sbufWriteU16(dst, hilToSIM.pidCommand[THROTTLE]);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case MSP_SENSOR_STATUS:
|
||||
sbufWriteU8(dst, isHardwareHealthy() ? 1 : 0);
|
||||
sbufWriteU8(dst, getHwGyroStatus());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue