Skip to content

Commit

Permalink
common: use camera ID for CAMERA_IMAGE_CAPTURED (#2196)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
julianoes and hamishwillee authored Dec 18, 2024
1 parent 5e3a42b commit 2f44cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7020,7 +7020,7 @@
set to the sequence number of the final message in the range.</description>
<field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
<field type="uint64_t" name="time_utc" units="us" invalid="0">Timestamp (time since UNIX epoch) in UTC. 0 for unknown.</field>
<field type="uint8_t" name="camera_id">Deprecated/unused. Component IDs are used to differentiate multiple cameras.</field>
<field type="uint8_t" name="camera_id" default="0" minValue="0" maxValue="6">Camera id of a non-MAVLink camera attached to an autopilot (1-6). 0 if the component is a MAVLink camera (with its own component id). Field name is usually camera_device_id.</field>
<field type="int32_t" name="lat" units="degE7">Latitude where image was taken</field>
<field type="int32_t" name="lon" units="degE7">Longitude where capture was taken</field>
<field type="int32_t" name="alt" units="mm">Altitude (MSL) where image was taken</field>
Expand Down

0 comments on commit 2f44cef

Please sign in to comment.