Skip to content

Commit

Permalink
Tools: add build option for guided-mode-requests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Oct 29, 2024
1 parent bf3221c commit 3083ad0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/scripts/build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ def config_option(self):
Feature('Networking', 'CAN MCAST', 'AP_NETWORKING_CAN_MCAST_ENABLED', 'Enable CAN multicast bridge', 0, None),

Feature('DroneCAN', 'DroneCAN', 'HAL_ENABLE_DRONECAN_DRIVERS', 'Enable DroneCAN support', 0, None),

Feature('MAVLink', 'GUIDED_MISSION_REQUESTS', 'HAL_GCS_GUIDED_MISSION_REQUESTS_ENABLED', 'Enable changing position and location with mission requests in guided mode', 0, None), # noqa:E501

]

BUILD_OPTIONS.sort(key=lambda x: (x.category + x.label))
Expand Down
2 changes: 2 additions & 0 deletions Tools/scripts/extract_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ def __init__(self, filename, nm="arm-none-eabi-nm", strings="strings"):
('AP_MAVLINK_MAV_CMD_SET_HAGL_ENABLED', 'Plane::handle_external_hagl'),
('AP_MAVLINK_MSG_VIDEO_STREAM_INFORMATION_ENABLED', 'AP_Camera::send_video_stream_information'),

('HAL_GCS_GUIDED_MISSION_REQUESTS_ENABLED', 'GCS_MAVLINK::handle_mission_item_guided_mode_request'),

('AP_DRONECAN_HIMARK_SERVO_SUPPORT', 'AP_DroneCAN::SRV_send_himark'),
('AP_DRONECAN_HOBBYWING_ESC_SUPPORT', 'AP_DroneCAN::hobbywing_ESC_update'),
('COMPASS_CAL_ENABLED', 'CompassCalibrator::stop'),
Expand Down

0 comments on commit 3083ad0

Please sign in to comment.