Commit Graph

3576 Commits

Author SHA1 Message Date
Hamish Willee 3fb6d40bb3 ArduPilot dialect changes 2025-03-05 09:42:33 +11:00
Hamish Willee cb1b07bb11 fetch_dialect_ardupilotmega.yml to include all included dialects (#2229) 2025-03-05 09:32:28 +11:00
co63oc d08a84aa24 Fix typos in doc and message_definitions (#2226) 2025-03-03 13:46:01 +11:00
Hamish Willee cac3221649 MAV_MODE_PROPERTY for auto/manual distinquishing (#2223) 2025-02-27 11:52:09 +11:00
Hamish Willee cc537da789 MAV_CMD_NAV_FENCE_POLYGON_VERTEX_ - numbering info (#2222) 2025-02-27 11:49:08 +11:00
Eric Katzfey 8690e10164 Added payload types for ModalAI vendor use (#2213) 2025-02-19 16:53:18 +11:00
Marco Hauswirth fe18c424e5 Adjust HIGH_LATENCY2 temperature_air field description (#2210)
* temperature_air now corresponds to the ambient temperatrue which is not necessarily dependent on the airspeed sensor

* change description of temperature_air field to non-specific temperature
2025-02-13 08:17:23 +11:00
Peter Barker 52417d33ab common.xml: adjust field instance descriptions (#2150)
* common.xml: adjust field instance descriptions

also point out flag value can be different based on transport

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2025-02-12 15:37:53 +11:00
Peter Hall 297410eb96 scripts: add a simple python checker to automate inconsistency check (#2206)
* scripts: add a simple python checker to automate inconsistency check

* scripts: xml_check: add argments and a few more warnings

* Scripts: rename xml check

* Fix up errors in the single file case

* run vscode prettier

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2025-02-12 14:34:18 +11:00
Peter Hall 93ed1434e2 common: remove unneeded 0 values in bitmasks (#2212) 2025-02-12 13:20:58 +11:00
Hamish Willee c1bf382e52 Cross link HIL_CONTROLS and HIL_ACTUATOR_CONTROLS as alts (#2204) 2025-02-12 12:45:05 +11:00
Peter Hall e09004c66d development: AIRSPEED_SENSOR_FLAGS correct bitmask (#2211) 2025-02-12 11:46:14 +11:00
Peter Hall d4590063c3 common: HIGHRES_IMU_UPDATED_FLAGS enum remove HIGHRES_IMU_UPDATED_ALL value (#2208) 2025-02-06 09:47:28 +11:00
Peter Hall 15f73d2de9 common: STORAGE_USAGE_FLAG mark as bitmask (#2207) 2025-02-05 11:43:03 +11:00
Peter Hall 433a635838 development: MAV_BATTERY_STATUS_FLAGS_EXTENDED correct final bit MAV_BATTERY_STATUS_FLAGS_EXTENDED (#2209) 2025-02-05 11:08:41 +11:00
Hamish Willee bf39b21d23 Standard modes - improve cross linking (#2205)
* AVAILALBE modes. Fix descriptive sentence

* More cross linking

* Add links to the standard mode docs

* Update message_definitions/v1.0/common.xml
2025-01-30 12:12:53 +11:00
Hamish Willee 72ce73cd53 Standard modes - move to common.xml (#2161)
* Standard mode definitions - move from dev to common

* code review - fix types. improve cross linking (not "semantic" changes)
2025-01-30 09:53:01 +11:00
Hamish Willee 619947d8bc common.xml - PING fix (#2197) 2024-12-19 15:39:09 +11:00
Julian Oes 2f44ceff0f common: use camera ID for CAMERA_IMAGE_CAPTURED (#2196)
* common: use camera ID for CAMERA_IMAGE_CAPTURED

The message CAMERA_IMAGE_CAPTURED is lacking a camera_device_id but I
think we can just use the unused camera_id instead.

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-12-18 14:09:36 +11:00
Hamish Willee 5e3a42b8f3 development: Remove parameter transaction proposal (#2169)
* development: Remove parameter transaction proposal added in  #1693 but never validated
2024-12-12 10:41:42 +11:00
Hamish Willee 25f4e9f05e STANDARD_MODE_SAFE_RECOVERY + RTL merge (#2191) 2024-12-11 10:21:21 +11:00
Hamish Willee d5a8cb4358 Docs generate fix (#2194)
* Keep dialects and tests togehter. Tidy text

* Generate wip text for enum values
2024-12-11 10:07:26 +11:00
Hamish Willee 35f70c4a7e Create index.md, dialects.md and make notes/warning work with vitepress (#2193) 2024-12-05 16:57:30 +11:00
Hamish Willee 57c0285603 CAMERA_THERMAL_RANGE - no longer WIP (#2189) 2024-12-05 09:13:35 +11:00
Hamish Willee 1ee2ebe1bd fetch_dialect_ardupilotmega.yml: Not fail if nothing to commit (#2181) 2024-12-04 10:19:31 +11:00
Hamish Willee 1aa8c2d0b1 ardupilotmega - remove_mav_cmd_external_estimate (#2187) 2024-12-04 09:51:51 +11:00
github-actions[bot] 49fa509a84 ardupilotmega dialects from ArduPilot/mavlink: Fri Nov 29 23:49:36 UTC 2024 (#2185)
Co-authored-by: PX4BuildBot <bot@px4.io>
2024-11-30 10:51:10 +11:00
Hamish Willee 75ebfc8ff9 Update fetch_dialect_ardupilotmega.yml - fix copy error (#2184) 2024-11-30 10:47:51 +11:00
Hamish Willee 8e97709db6 fetch_dialect_ardupilotmega.yml - add loweheiser (#2183) 2024-11-30 10:43:56 +11:00
github-actions[bot] 82b81aa8cd ardupilotmega.xml from ArduPilot/mavlink: Wed Nov 27 04:13:16 UTC 2024 (#2178)
Co-authored-by: PX4BuildBot <bot@px4.io>
2024-11-27 15:15:46 +11:00
Hamish Willee 5c421a334f Speed uncertainty units /s (#2180) 2024-11-27 12:17:59 +11:00
David Sastre 33f8a327ab Some modifications to multi-GCS protocol (#2179)
* common.xml: remove recently added MAV_RESULT_PERMISSION_DENIED:

This was needed for the new in development multi GCS protocol.
It was decided to hold on this new result for the moment, in
order to make the current implementation easier to adopt, and
evaluate again in the future if this is needed.

For the situations meant to use this, we will use RESULT_FAILED

* development.xml: use RESULT_FAILED instead of PERMISSION_DENIED

* development.xml: add request timeout parameter to REQUEST_OPERATOR_CONTROL

* development.xml: In REQUEST_OPERATOR_CONTROL requests revert to takeover not allowed after 10s

* development.xml: fix REQUEST_OPERATOR_CONTROL param4 description

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-11-24 21:57:05 +11:00
Hamish Willee 9938f9405c fetch_dialect_ardupilotmega - create (#2177) 2024-11-21 13:27:34 +11:00
Hamish Willee a55d0ec5ba MAV_CMD_GROUP_START and _GROUP_END delete wip (#2176) 2024-11-21 09:43:09 +11:00
Hamish Willee 1cf3c7217f dev: move FUEL_STATUS to common (#2170) 2024-11-21 09:36:39 +11:00
Hamish Willee 7ecb8e3327 WIFI_NETWORK_SECURITY - wip removal (#2164) 2024-11-21 07:38:29 +11:00
David Sastre 0e420102db development.xml: change OPERATOR_CONTROL id to 32100: (#2174)
It collides with a new command in Ardupilotmega.xml, in
Ardupilot repo
2024-11-20 14:29:24 +11:00
Hamish Willee 01e0cc2f42 SMART_BATTERY_INFO - revert and renumber BATTERY_INFO (#2173) 2024-11-14 11:47:27 +11:00
benjinne e221d46d46 add rc_type_crsf (#2162)
* add rc_type_crsf

* Update RX_PAIR to use RC_TYPE and RC_SUB_TYPE to make sense with CRSF binding

* Apply suggestions from code review

* Update message_definitions/v1.0/common.xml

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-11-07 09:50:00 +11:00
Hamish Willee 6ac99ca4d0 Remove the imported headers for everything except common.xml (#2166) 2024-11-06 20:56:19 +11:00
David Sastre 5f7fe50453 development.xml: First prototype for multi-GCS operation. (#2158)
---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-11-06 20:40:14 +11:00
pv42 b4add52929 common.xml: set usages of GIMBAL_MANAGER_FLAGS in messages to display=bitmask (#2154) 2024-10-03 15:12:31 +13:00
Hamish Willee ea1dbfa21c mavlink_xml_to_markdown.py - remove unclosed b tag (#2153) 2024-09-19 18:13:12 +10:00
Julian Oes 8f630b9460 common: add capability flags for camera and gimbal (#2144)
* common: add capability flags for camera and gimbal

Having these two capability flags means that ground stations don't have
to ask any discovered components for CAMERA_INFORMATION and
GIMBAL_MANAGER_INFORMATION messages and can instead only do so when they
see this capability flag set.

This means however, that each ground station now needs to request either
AUTOPILOT_VERSION or COMPONENT_INFORMATION_BASIC from any MAVLink
component that it discovers, so it's only slightly better.

The alternative would be to make it explicit that cameras and gimbals
need to send out CAMERA_CAPTURE_STATUS and GIMBAL_MANAGER_STATUS
messages respsectively, to signal implementing a camera/gimbal manager.

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-09-18 17:16:18 +10:00
Hamish Willee 7b35ec95a1 Update common.xml - typo CAMERA_THERMAL RANGE (#2152) 2024-09-11 13:06:29 +10:00
Hamish Willee 65f4b89a41 MAV_CMD_SET_MESSAGE_INTERVAL - additional params for requestor (#2148) 2024-09-05 11:08:32 +10:00
Randy Mackay 9dbd2d84a4 common: add camera-thermal-status (#2145)
* common: add camera-thermal-range

* Update message_definitions/v1.0/common.xml

* wip tagging

* Update message_definitions/v1.0/common.xml

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-09-05 08:35:46 +10:00
Nick E ad6fab510f common.xml: Add missing camera IDs to camera commands and messages (#2142)
* common.xml: Add "Target Camera ID" param to MAV_CMD_DO_SET_CAM_TRIGG_DIST

* common.xml: Add "Target Camera ID" param to MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL

* common.xml: Add "Target Camera ID" param to MAV_CMD_RESET_CAMERA_SETTINGS

* common.xml: Add "Target Camera ID" param to MAV_CMD_SET_CAMERA_ZOOM

* common.xml: Add "Target Camera ID" param to MAV_CMD_SET_CAMERA_FOCUS

* common.xml: Add "Target Camera ID" param to MAV_CMD_DO_TRIGGER_CONTROL

* common.xml: Add "Target Camera ID" param to MAV_CMD_CAMERA_TRACK_POINT

* common.xml: Add range metadata to "id" param of MAV_CMD_SET_CAMERA_MODE

* common.xml: Add "Target Camera ID" param to MAV_CMD_CAMERA_TRACK_RECTANGLE

* common.xml: Add "Target Camera ID" param to MAV_CMD_CAMERA_STOP_TRACKING

* common.xml: Add "Target Camera ID" param to MAV_CMD_VIDEO_START_CAPTURE

* common.xml: Add "Target Camera ID" param to MAV_CMD_VIDEO_STOP_CAPTURE

* common.xml: Add "Target Camera ID" param to MAV_CMD_VIDEO_START_STREAMING

* common.xml: Add "Target Camera ID" param to MAV_CMD_VIDEO_STOP_STREAMING

* common.xml: Add "camera_device_id" field to CAMERA_SETTINGS

* common.xml: Add "camera_device_id" field to CAMERA_CAPTURE_STATUS

* common.xml: Add "camera_device_id" field to VIDEO_STREAM_INFORMATION

* common.xml: Add "camera_device_id" field to VIDEO_STREAM_STATUS

* common.xml: Add "camera_device_id" field to CAMERA_FOV_STATUS

* common.xml: Add "camera_device_id" field to CAMERA_TRACKING_IMAGE_STATUS

* common.xml: Add "camera_device_id" field to CAMERA_TRACKING_GEO_STATUS

* common.xml: Update "camera_device_id" field of CAMERA_INFORMATION

For consistency with other messages with the same field.

* common.xml: Rename MAV_CMD_IMAGE_START_CAPTURE param1 to "Target Camera ID"

* common.xml: Rename MAV_CMD_IMAGE_STOP_CAPTURE param1 to "Target Camera ID"
2024-09-04 13:55:34 +10:00
Hamish Willee bb52e30d2b comment - use markdown in replaced by to fix rendering (#2137) 2024-08-01 15:05:04 +10:00
Hamish Willee 6ac37cde0d Docs generation improvements (#2139)
* Dialects more clearly not necessarily accurate to fork

* Common.xml includes all entities
2024-08-01 12:13:17 +10:00