mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 08:37:34 +08:00
vehicle_rates_setpoint: log wheel controller yaw rate on common yaw rate channel
This commit is contained in:
committed by
Daniel Agar
parent
c447064596
commit
63e4ea23b7
@@ -601,8 +601,7 @@ void FixedwingAttitudeControl::Run()
|
||||
*/
|
||||
_rates_sp.roll = _roll_ctrl.get_desired_bodyrate();
|
||||
_rates_sp.pitch = _pitch_ctrl.get_desired_bodyrate();
|
||||
_rates_sp.yaw = _yaw_ctrl.get_desired_bodyrate();
|
||||
_rates_sp.yaw_via_wheel = _wheel_ctrl.get_desired_rate();
|
||||
_rates_sp.yaw = (wheel_control) ? _wheel_ctrl.get_desired_rate() : _yaw_ctrl.get_desired_bodyrate();
|
||||
|
||||
_rates_sp.timestamp = hrt_absolute_time();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user