* 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
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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"