mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 20:23:33 +08:00
Enable rover attitude setpoint
This commit is contained in:
committed by
Daniel Agar
parent
7984c0c910
commit
1951e416b1
@@ -1302,6 +1302,7 @@ void MavlinkReceiver::fill_thrust(float *thrust_body_array, uint8_t vehicle_type
|
||||
break;
|
||||
|
||||
case MAV_TYPE_FIXED_WING:
|
||||
case MAV_TYPE_GROUND_ROVER:
|
||||
thrust_body_array[0] = thrust;
|
||||
break;
|
||||
|
||||
@@ -1313,10 +1314,6 @@ void MavlinkReceiver::fill_thrust(float *thrust_body_array, uint8_t vehicle_type
|
||||
thrust_body_array[2] = -thrust;
|
||||
break;
|
||||
|
||||
case MAV_TYPE_GROUND_ROVER:
|
||||
thrust_body_array[0] = thrust;
|
||||
break;
|
||||
|
||||
case MAV_TYPE_VTOL_DUOROTOR:
|
||||
case MAV_TYPE_VTOL_QUADROTOR:
|
||||
case MAV_TYPE_VTOL_TILTROTOR:
|
||||
|
||||
Reference in New Issue
Block a user