3757 Commits

Author SHA1 Message Date
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
Hamish Willee 139e1b0e33 Pymavlink update - primarily for fixes to generator error reporting (#2138) 2024-08-01 10:04:43 +10:00
Claudio Chies 6ef6f2c033 Yaw Orbit Behaviour - add an option to select system default (#2132)
* update how NaN is used for the orbit yaw behavior

* expanded ENUM, removed NAN usage

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-07-24 17:31:43 +10:00
Nick E d219fee88f common.xml: Add "encoding" field to VIDEO_STREAM_INFORMATION (#2127)
* common.xml: Add "encoding" field to VIDEO_STREAM_INFORMATION

* common.xml: Remove encodings from video stream type
2024-07-18 10:17:41 +10:00
Julian Oes a5e324fbfe common: add camera_device_id to CAMERA_INFORMATION (#2121)
* common: add camera_device_id to CAMERA_INFORMATION

By adding a camera_device_id to a CAMERA_INFORMATION message, we allow an
autopilot to be a proxy for a MAVLink or non-MAVLink camera.

The idea is similar to a gimbal manager implemented by an autopilot.

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-07-18 10:13:36 +10:00
Peter Barker d65952bacc common.xml: correct description of GLOBAL_POSIITON_INT.relative_alt frame (#2131) 2024-07-05 09:08:03 +10:00
Hamish Willee 5fc2ff8e55 Add multiplier field to docs, if present (#2125) 2024-06-26 09:52:26 +10:00
Roman Bapst a13d23173f Added MAV_CMD_EXTERNAL_WIND_ESTIMATE to development (#2122) 2024-06-26 08:56:41 +10:00
jokalode d8af87fdc3 Update common.xml (#2116)
Adds documentation that field `squawk` of ADSB_VEHICLE message is encoded in decimal, not in octal.
2024-06-19 18:12:02 +10:00
Thomas Frans da3223ff93 gps: add status and integrity information (#2110)
* gps: add status and resilience information

Add fields to report resilience and status information from GNSS
receivers back to ground control stations for representation in the user
interface.

* gps: separate GNSS integrity information

Move the changes to the `GPS_RAW_INT` message into a separate message
that supports multiple GNSS receivers. Update the enum values to better
support all GNSS receivers.

* gps(integrity): add RAIM info to `GNSS_INTEGRITY` message

* gps(integrity): change `GNSS_INTEGRITY` message `id` field to instanced

Change the `id` field on the `GNSS_INTEGRITY` message to make use of the
instance support in the MAVLink schema.

* gps(integrity): move integrity message to `development.xml`

* gps(integrity): add jamming mitigated and spoofing critical

Change the enums for jamming and spoofing so jamming includes a state
for mitigated interference and spoofing no longer includes a message for
critical spoofing.

* gps(integrity): add units to `GNSS_INTEGRITY` RAIM fields

* gps(integrity): add qualitative indicators to `GNSS_INTEGRITY` message

Add qualitative fields for GNSS signal quality, incoming corrections
quality and overall system status. GNSS receivers or drivers can compute
these based on other data. They can be useful before takeoff and during
flight as a reliable overview of important GNSS components.

* gps(integrity): update quality indicators for unsupported drivers

Add support for drivers that can't or don't want to provide the quality
indicator information

* gps(integrity): use invalid attribute to indicate invalid values

Instead of having implicit invalid values, use the `invalid` attributes.
Also add invalid values to the RAIM data as it may not always be
supplied or available from receivers.

* code review - invalid value for uint8 is 255

* Apply suggestions from code review

* Update message_definitions/v1.0/development.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2024-06-13 09:11:49 +10:00
Hamish Willee 9e0d01df69 FUEL_STATUS message proposal (#2107)
* FUEL_STATUS message proposal

* Update message_definitions/v1.0/development.xml

* Update message_definitions/v1.0/development.xml

* development: change FUEL_STATUS id to fix duplication error (#2112)

* Update message_definitions/v1.0/development.xml

* Update message_definitions/v1.0/development.xml

---------

Co-authored-by: Nuno Marques <n.marques21@hotmail.com>
2024-06-06 15:58:31 +10:00
Hamish Willee f1d42e2774 common - multiplier values for azimuth and eph/epv (#2120) 2024-05-30 09:23:59 +10:00
Hamish Willee fd4d43fa98 Update pymavlink 20240529 (#2119) 2024-05-29 09:52:30 +10:00
Hamish Willee d7a2b841ae common - MAV_CMD_SET_CAMERA_MODE set id (#2111) 2024-05-23 09:31:19 +10:00
Hamish Willee 27e222d20e Remove summary table and replace with overview (#2117) 2024-05-22 10:55:36 +10:00
Ali Elbashir 934f199bf2 Fix missing increment and max value typo (#2114)
* Fix typo for commands max value

* Fix increment None
2024-05-22 09:55:24 +10:00
Hamish Willee f31c1926ca Add index file to generated mavlink (#2113) 2024-05-16 16:28:43 +10:00
Hamish Willee 2b87f2e545 Improved docs from XML generation_toolchain (#2103)
* Improved docs from XML generation_toolchain

- Make replaced-by a link
- Fix message field desc
- Make enums in param values into links
- Fixes following testing
- Add deprecated desc, if exists
- Add todo if we ever get WIP tags with text in them
- Make the main lists to dicts, to allow easier merging
- Merge XMLs
- Fix up ordering of items
- Make more robust - can spot new fields
- Improve table layout
- Add max, min, invalid, instance, default, to fields
- Add highlighting for WIP/Deprecated
- Minor fix to intros
- Add placeholder for building dialect tree
- Add summary of stuff in THIS file
- Flake8 Lint
- Workflow to deploy docs + dependencies file

* Update workflow to commit PR
2024-05-16 15:32:55 +10:00
Thomas Frans 23eb98ca00 style: add EditorConfig and format some files (#2106)
Add an EditorConfig to make sure editors know how to correctly edit and
save files. Also strip trailing whitespace in some files that don't need
it, as configured in the EditorConfig file.
2024-05-01 11:44:32 +10:00
Hamish Willee 84aaa04750 BATTERY_STATUS_V2.capacity_remaining and smartbattery - fix typos (#2108) 2024-04-25 12:02:41 +10:00