mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
@@ -2129,7 +2129,7 @@ Sensors::rc_poll()
|
|||||||
manual.kill_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_KILLSWITCH,
|
manual.kill_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_KILLSWITCH,
|
||||||
_parameters.rc_killswitch_th, _parameters.rc_killswitch_inv);
|
_parameters.rc_killswitch_th, _parameters.rc_killswitch_inv);
|
||||||
manual.transition_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_TRANSITION,
|
manual.transition_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_TRANSITION,
|
||||||
_parameters.rc_trans_th, _parameters.rc_trans_inv);
|
_parameters.rc_trans_th, _parameters.rc_trans_inv);
|
||||||
|
|
||||||
/* publish manual_control_setpoint topic */
|
/* publish manual_control_setpoint topic */
|
||||||
if (_manual_control_pub != nullptr) {
|
if (_manual_control_pub != nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user