mirror of https://github.com/ArduPilot/ardupilot
Tools: add build_option.py entry for Plane offboard-guided control
This commit is contained in:
parent
74bf618a32
commit
7537acd3bc
|
@ -209,6 +209,7 @@ BUILD_OPTIONS = [
|
|||
Feature('Plane', 'QAUTOTUNE', 'QAUTOTUNE_ENABLED', 'Enable QuadPlane Autotune mode', 0, "QUADPLANE"),
|
||||
Feature('Plane', 'PLANE_BLACKBOX', 'AP_PLANE_BLACKBOX_LOGGING', 'Enable blackbox logging', 0, None),
|
||||
Feature('Plane', 'AP_TX_TUNING', 'AP_TUNING_ENABLED', 'Enable TX-based tuning parameter adjustments', 0, None),
|
||||
Feature('Plane', 'PLANE_GUIDED_SLEW', 'AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED', 'Enable offboard-guided slew commands', 0, None), # noqa:401
|
||||
|
||||
Feature('RC', 'RC_Protocol', 'AP_RCPROTOCOL_ENABLED', "Enable Serial RC Protocol support", 0, None), # NOQA: E501
|
||||
Feature('RC', 'RC_CRSF', 'AP_RCPROTOCOL_CRSF_ENABLED', "Enable CRSF RC Protocol", 0, "RC_Protocol"), # NOQA: E501
|
||||
|
|
|
@ -265,6 +265,8 @@ class ExtractFeatures(object):
|
|||
('AP_RSSI_ENABLED', r'AP_RSSI::init'),
|
||||
|
||||
('AP_ROVER_ADVANCED_FAILSAFE_ENABLED', r'Rover::afs_fs_check'),
|
||||
|
||||
('AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED', r'GCS_MAVLINK_Plane::handle_command_int_guided_slew_commands'),
|
||||
]
|
||||
|
||||
def progress(self, msg):
|
||||
|
|
Loading…
Reference in New Issue