mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 03:43:34 +08:00
Cleaned up PI wrapping code, still subject to testing
This commit is contained in:
@@ -1059,7 +1059,7 @@ Sensors::task_main()
|
||||
|
||||
/* advertise the manual_control topic */
|
||||
struct manual_control_setpoint_s manual_control;
|
||||
manual_control.mode = MANUAL_CONTROL_MODE_ATT_YAW_RATE;
|
||||
manual_control.mode = MANUAL_CONTROL_MODE_ATT_YAW_POS;
|
||||
manual_control.roll = 0.0f;
|
||||
manual_control.pitch = 0.0f;
|
||||
manual_control.yaw = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user