mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 01:13:34 +08:00
added poll to 'attitude_rates_setpoint' as requested in TODO
This commit is contained in:
@@ -596,8 +596,9 @@ JetdriveControl::task_main()
|
||||
} else {
|
||||
/* attitude controller disabled */
|
||||
// TODO poll 'attitude_rates_setpoint' topic
|
||||
_rates_sp.zero();
|
||||
_thrust_sp = 0.0f;
|
||||
vehicle_rates_setpoint_poll();
|
||||
// _rates_sp.zero();
|
||||
// _thrust_sp = 0.0f;
|
||||
}
|
||||
|
||||
if (_v_control_mode.flag_control_rates_enabled) {
|
||||
|
||||
Reference in New Issue
Block a user