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 5, 2024
1 parent 2b7c61e commit 7b22f11
Show file tree
Hide file tree
Showing 52 changed files with 225 additions and 6 deletions.
1 change: 1 addition & 0 deletions pkg/dialects/all/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/all/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
2 changes: 2 additions & 0 deletions pkg/dialects/all/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED
)
10 changes: 10 additions & 0 deletions pkg/dialects/all/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package all

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange = common.MessageCameraThermalRange
1 change: 1 addition & 0 deletions pkg/dialects/ardupilotmega/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/ardupilotmega/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
2 changes: 2 additions & 0 deletions pkg/dialects/ardupilotmega/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED
)
10 changes: 10 additions & 0 deletions pkg/dialects/ardupilotmega/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package ardupilotmega

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange = common.MessageCameraThermalRange
1 change: 1 addition & 0 deletions pkg/dialects/asluav/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/asluav/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
2 changes: 2 additions & 0 deletions pkg/dialects/asluav/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED
)
10 changes: 10 additions & 0 deletions pkg/dialects/asluav/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package asluav

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange = common.MessageCameraThermalRange
1 change: 1 addition & 0 deletions pkg/dialects/avssuas/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/avssuas/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
2 changes: 2 additions & 0 deletions pkg/dialects/avssuas/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED
)
10 changes: 10 additions & 0 deletions pkg/dialects/avssuas/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package avssuas

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange = common.MessageCameraThermalRange
1 change: 1 addition & 0 deletions pkg/dialects/common/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
6 changes: 5 additions & 1 deletion pkg/dialects/common/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = 1024
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = 2048
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = 4096
)

var labels_CAMERA_CAP_FLAGS = map[CAMERA_CAP_FLAGS]string{
Expand All @@ -51,6 +53,7 @@ var labels_CAMERA_CAP_FLAGS = map[CAMERA_CAP_FLAGS]string{
CAMERA_CAP_FLAGS_HAS_TRACKING_POINT: "CAMERA_CAP_FLAGS_HAS_TRACKING_POINT",
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE: "CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE",
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS: "CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS",
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE: "CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE",
}

var values_CAMERA_CAP_FLAGS = map[string]CAMERA_CAP_FLAGS{
Expand All @@ -66,6 +69,7 @@ var values_CAMERA_CAP_FLAGS = map[string]CAMERA_CAP_FLAGS{
"CAMERA_CAP_FLAGS_HAS_TRACKING_POINT": CAMERA_CAP_FLAGS_HAS_TRACKING_POINT,
"CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE": CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE,
"CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS": CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS,
"CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE": CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE,
}

// MarshalText implements the encoding.TextMarshaler interface.
Expand All @@ -74,7 +78,7 @@ func (e CAMERA_CAP_FLAGS) MarshalText() ([]byte, error) {
return []byte("0"), nil
}
var names []string
for i := 0; i < 12; i++ {
for i := 0; i < 13; i++ {
mask := CAMERA_CAP_FLAGS(1 << i)
if e&mask == mask {
names = append(names, labels_CAMERA_CAP_FLAGS[mask])
Expand Down
14 changes: 9 additions & 5 deletions pkg/dialects/common/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,20 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = 1
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = 2
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = 4
)

var labels_VIDEO_STREAM_STATUS_FLAGS = map[VIDEO_STREAM_STATUS_FLAGS]string{
VIDEO_STREAM_STATUS_FLAGS_RUNNING: "VIDEO_STREAM_STATUS_FLAGS_RUNNING",
VIDEO_STREAM_STATUS_FLAGS_THERMAL: "VIDEO_STREAM_STATUS_FLAGS_THERMAL",
VIDEO_STREAM_STATUS_FLAGS_RUNNING: "VIDEO_STREAM_STATUS_FLAGS_RUNNING",
VIDEO_STREAM_STATUS_FLAGS_THERMAL: "VIDEO_STREAM_STATUS_FLAGS_THERMAL",
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED: "VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED",
}

var values_VIDEO_STREAM_STATUS_FLAGS = map[string]VIDEO_STREAM_STATUS_FLAGS{
"VIDEO_STREAM_STATUS_FLAGS_RUNNING": VIDEO_STREAM_STATUS_FLAGS_RUNNING,
"VIDEO_STREAM_STATUS_FLAGS_THERMAL": VIDEO_STREAM_STATUS_FLAGS_THERMAL,
"VIDEO_STREAM_STATUS_FLAGS_RUNNING": VIDEO_STREAM_STATUS_FLAGS_RUNNING,
"VIDEO_STREAM_STATUS_FLAGS_THERMAL": VIDEO_STREAM_STATUS_FLAGS_THERMAL,
"VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED": VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED,
}

// MarshalText implements the encoding.TextMarshaler interface.
Expand All @@ -34,7 +38,7 @@ func (e VIDEO_STREAM_STATUS_FLAGS) MarshalText() ([]byte, error) {
return []byte("0"), nil
}
var names []string
for i := 0; i < 2; i++ {
for i := 0; i < 3; i++ {
mask := VIDEO_STREAM_STATUS_FLAGS(1 << i)
if e&mask == mask {
names = append(names, labels_VIDEO_STREAM_STATUS_FLAGS[mask])
Expand Down
30 changes: 30 additions & 0 deletions pkg/dialects/common/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package common

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange struct {
// Timestamp (time since system boot).
TimeBootMs uint32
// Video Stream ID (1 for first, 2 for second, etc.)
StreamId uint8
// 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
// Temperature max.
Max float32
// Temperature max point x value (normalized 0..1, 0 is left, 1 is right), NAN if unknown.
MaxPointX float32
// Temperature max point y value (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown.
MaxPointY float32
// Temperature min.
Min float32
// Temperature min point x value (normalized 0..1, 0 is left, 1 is right), NAN if unknown.
MinPointX float32
// Temperature min point y value (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown.
MinPointY float32
}

// GetID implements the message.Message interface.
func (*MessageCameraThermalRange) GetID() uint32 {
return 277
}
1 change: 1 addition & 0 deletions pkg/dialects/cubepilot/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/cubepilot/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
2 changes: 2 additions & 0 deletions pkg/dialects/cubepilot/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED
)
10 changes: 10 additions & 0 deletions pkg/dialects/cubepilot/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package cubepilot

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange = common.MessageCameraThermalRange
1 change: 1 addition & 0 deletions pkg/dialects/development/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/development/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
2 changes: 2 additions & 0 deletions pkg/dialects/development/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED
)
10 changes: 10 additions & 0 deletions pkg/dialects/development/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package development

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange = common.MessageCameraThermalRange
1 change: 1 addition & 0 deletions pkg/dialects/matrixpilot/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/matrixpilot/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
2 changes: 2 additions & 0 deletions pkg/dialects/matrixpilot/enum_video_stream_status_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const (
VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
// Stream is thermal imaging
VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
// Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE). (WIP).
VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED
)
10 changes: 10 additions & 0 deletions pkg/dialects/matrixpilot/message_camera_thermal_range.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package matrixpilot

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Camera absolute thermal range. This can be streamed when the associated `VIDEO_STREAM_STATUS.flag` bit `VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED` is set, but a GCS may choose to only request it for the current active stream. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval (param3 indicates the stream id of the current camera, or 0 for all streams, param4 indicates the target camera_device_id for autopilot-attached cameras or 0 for MAVLink cameras).
type MessageCameraThermalRange = common.MessageCameraThermalRange
1 change: 1 addition & 0 deletions pkg/dialects/paparazzi/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ var dial = &dialect.Dialect{
&MessageCameraFovStatus{},
&MessageCameraTrackingImageStatus{},
&MessageCameraTrackingGeoStatus{},
&MessageCameraThermalRange{},
&MessageGimbalManagerInformation{},
&MessageGimbalManagerStatus{},
&MessageGimbalManagerSetAttitude{},
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/paparazzi/enum_camera_cap_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ const (
CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
// Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE) (WIP).
CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE
)
Loading

0 comments on commit 7b22f11

Please sign in to comment.