Skip to content

Commit 037b136

Browse files
committed
Rover control: Use roll sticks
It is more intuitive to use the roll stick as lateral control input given that drones defined this category, plus this is how consumer car / rover radio controls have been working already.
1 parent cc47038 commit 037b136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/rover_pos_control/RoverPositionControl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ RoverPositionControl::manual_control_setpoint_poll()
136136

137137
} else {
138138
const float yaw_rate = math::radians(_param_gnd_man_y_max.get());
139-
_att_sp.yaw_sp_move_rate = _manual_control_setpoint.r * yaw_rate;
139+
_att_sp.yaw_sp_move_rate = _manual_control_setpoint.y * yaw_rate;
140140
_manual_yaw_sp = wrap_pi(_manual_yaw_sp + _att_sp.yaw_sp_move_rate * dt);
141141
}
142142

0 commit comments

Comments
 (0)