Skip to content

Commit

Permalink
(automatic) update dialects to rev https://github.com/mavlink/mavlink…
Browse files Browse the repository at this point in the history
  • Loading branch information
gomavlib-bot committed Sep 4, 2024
1 parent 1129889 commit 2b7c61e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_camera_capture_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ type MessageCameraCaptureStatus struct {
AvailableCapacity float32
// Total number of images captured ('forever', or until reset using MAV_CMD_STORAGE_FORMAT).
ImageCount int32 `mavext:"true"`
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_camera_fov_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ type MessageCameraFovStatus struct {
Hfov float32
// Vertical field of view (NaN if unknown).
Vfov float32
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
2 changes: 1 addition & 1 deletion pkg/dialects/common/message_camera_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type MessageCameraInformation struct {
CamDefinitionUri string `mavlen:"140"`
// Gimbal id of a gimbal associated with this camera. This is the component id of the gimbal device, or 1-6 for non mavlink gimbals. Use 0 if no gimbal is associated with the camera.
GimbalDeviceId uint8 `mavext:"true"`
// Camera id of a camera associated with this component. This is the component id of a proxied MAVLink camera, or 1-6 for a non-MAVLink camera attached to the component. Use 0 if the component is a camera (not something else providing access to a camera).
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_camera_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ type MessageCameraSettings struct {
Zoomlevel float32 `mavext:"true" mavname:"zoomLevel"`
// Current focus level as a percentage of the full range (0.0 to 100.0, NaN if not known)
Focuslevel float32 `mavext:"true" mavname:"focusLevel"`
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_camera_tracking_geo_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ type MessageCameraTrackingGeoStatus struct {
Hdg float32
// Accuracy of heading, in NED. NAN if unknown
HdgAcc float32
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_camera_tracking_image_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ type MessageCameraTrackingImageStatus struct {
RecBottomX float32
// Current tracked rectangle bottom y value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown
RecBottomY float32
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_video_stream_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ type MessageVideoStreamInformation struct {
Uri string `mavlen:"160"`
// Encoding of stream.
Encoding VIDEO_STREAM_ENCODING `mavenum:"uint8" mavext:"true"`
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_video_stream_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ type MessageVideoStreamStatus struct {
Rotation uint16
// Horizontal Field of view
Hfov uint16
// 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).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down

0 comments on commit 2b7c61e

Please sign in to comment.