mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 16:53:34 +08:00
Rename generate virtual RC setter/getter
The old names were unclear to me, especially when used in the mavlink_receiver.
This commit is contained in:
committed by
Beat Küng
parent
1d89351149
commit
0ac300f77a
@@ -302,7 +302,7 @@ public:
|
||||
*
|
||||
* @param generation_enabled If set to true, generate RC_INPUT messages
|
||||
*/
|
||||
void set_manual_input_mode_generation(bool generation_enabled) { _generate_rc = generation_enabled; }
|
||||
void set_generate_virtual_rc_input(bool generation_enabled) { _generate_rc = generation_enabled; }
|
||||
|
||||
/**
|
||||
* Set communication protocol for this mavlink instance
|
||||
@@ -314,7 +314,7 @@ public:
|
||||
*
|
||||
* @return true if manual inputs should generate RC data
|
||||
*/
|
||||
bool get_manual_input_mode_generation() { return _generate_rc; }
|
||||
bool should_generate_virtual_rc_input() { return _generate_rc; }
|
||||
|
||||
/**
|
||||
* This is the beginning of a MAVLINK_START_UART_SEND/MAVLINK_END_UART_SEND transaction
|
||||
|
||||
Reference in New Issue
Block a user