forked from Archive/PX4-Autopilot
ros: manual input (joystick) node: correctly initilize switches
This commit is contained in:
parent
5beafd25e6
commit
ae64e4e05c
|
@ -85,6 +85,8 @@ ManualInput::ManualInput() :
|
|||
_msg_mc_sp.posctl_switch = px4::manual_control_setpoint::SWITCH_POS_OFF;
|
||||
_msg_mc_sp.loiter_switch = px4::manual_control_setpoint::SWITCH_POS_OFF;
|
||||
_msg_mc_sp.return_switch = px4::manual_control_setpoint::SWITCH_POS_OFF;
|
||||
_msg_mc_sp.offboard_switch = px4::manual_control_setpoint::SWITCH_POS_OFF;
|
||||
_msg_mc_sp.acro_switch = px4::manual_control_setpoint::SWITCH_POS_NONE;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue