mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-11 02:01:35 +08:00
hitl,sitl,sih: use separate actuator_outputs_sim for SYS_CTRL_ALLOC==1
- removes the need to do type-specific rescaling of pwm to normalized values - allows to run physical output drivers alongside HIL/SIH
This commit is contained in:
@@ -131,9 +131,7 @@ public:
|
||||
#endif
|
||||
|
||||
private:
|
||||
Simulator() : ModuleParams(nullptr)
|
||||
{
|
||||
}
|
||||
Simulator();
|
||||
|
||||
~Simulator()
|
||||
{
|
||||
@@ -291,6 +289,7 @@ private:
|
||||
float _last_magx{0.0f};
|
||||
float _last_magy{0.0f};
|
||||
float _last_magz{0.0f};
|
||||
bool _use_dynamic_mixing{false};
|
||||
|
||||
#if defined(ENABLE_LOCKSTEP_SCHEDULER)
|
||||
px4::atomic<bool> _has_initialized {false};
|
||||
|
||||
Reference in New Issue
Block a user