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 Nov 14, 2024
1 parent a0b7119 commit abe57ea
Show file tree
Hide file tree
Showing 27 changed files with 180 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/dialects/all/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/all/message_smart_battery_info.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"
)

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/ardupilotmega/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/ardupilotmega/message_smart_battery_info.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"
)

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/asluav/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/asluav/message_smart_battery_info.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"
)

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/avssuas/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/avssuas/message_smart_battery_info.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"
)

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/common/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
2 changes: 1 addition & 1 deletion pkg/dialects/common/message_battery_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ type MessageBatteryInfo struct {

// GetID implements the message.Message interface.
func (*MessageBatteryInfo) GetID() uint32 {
return 370
return 372
}
46 changes: 46 additions & 0 deletions pkg/dialects/common/message_smart_battery_info.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package common

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo struct {
// Battery ID
Id uint8
// Function of the battery
BatteryFunction MAV_BATTERY_FUNCTION `mavenum:"uint8"`
// Type (chemistry) of the battery
Type MAV_BATTERY_TYPE `mavenum:"uint8"`
// Capacity when full according to manufacturer, -1: field not provided.
CapacityFullSpecification int32
// Capacity when full (accounting for battery degradation), -1: field not provided.
CapacityFull int32
// Charge/discharge cycle count. UINT16_MAX: field not provided.
CycleCount uint16
// Serial number in ASCII characters, 0 terminated. All 0: field not provided.
SerialNumber string `mavlen:"16"`
// Static device name in ASCII characters, 0 terminated. All 0: field not provided. Encode as manufacturer name then product name separated using an underscore.
DeviceName string `mavlen:"50"`
// Battery weight. 0: field not provided.
Weight uint16
// Minimum per-cell voltage when discharging. If not supplied set to UINT16_MAX value.
DischargeMinimumVoltage uint16
// Minimum per-cell voltage when charging. If not supplied set to UINT16_MAX value.
ChargingMinimumVoltage uint16
// Minimum per-cell voltage when resting. If not supplied set to UINT16_MAX value.
RestingMinimumVoltage uint16
// Maximum per-cell voltage when charged. 0: field not provided.
ChargingMaximumVoltage uint16 `mavext:"true"`
// Number of battery cells in series. 0: field not provided.
CellsInSeries uint8 `mavext:"true"`
// Maximum pack discharge current. 0: field not provided.
DischargeMaximumCurrent uint32 `mavext:"true"`
// Maximum pack discharge burst current. 0: field not provided.
DischargeMaximumBurstCurrent uint32 `mavext:"true"`
// Manufacture date (DD/MM/YYYY) in ASCII characters, 0 terminated. All 0: field not provided.
ManufactureDate string `mavext:"true" mavlen:"11"`
}

// GetID implements the message.Message interface.
func (*MessageSmartBatteryInfo) GetID() uint32 {
return 370
}
1 change: 1 addition & 0 deletions pkg/dialects/cubepilot/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/cubepilot/message_smart_battery_info.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"
)

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/development/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/development/message_smart_battery_info.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"
)

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/matrixpilot/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/matrixpilot/message_smart_battery_info.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"
)

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/paparazzi/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/paparazzi/message_smart_battery_info.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package paparazzi

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

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/pythonarraytest/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/pythonarraytest/message_smart_battery_info.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package pythonarraytest

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

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/storm32/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/storm32/message_smart_battery_info.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package storm32

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

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/ualberta/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/ualberta/message_smart_battery_info.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package ualberta

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

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
1 change: 1 addition & 0 deletions pkg/dialects/uavionix/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var dial = &dialect.Dialect{
&MessageUtmGlobalPosition{},
&MessageDebugFloatArray{},
&MessageOrbitExecutionStatus{},
&MessageSmartBatteryInfo{},
&MessageBatteryInfo{},
&MessageGeneratorStatus{},
&MessageActuatorOutputStatus{},
Expand Down
10 changes: 10 additions & 0 deletions pkg/dialects/uavionix/message_smart_battery_info.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll
package uavionix

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

// Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for the frequent battery updates.
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo

0 comments on commit abe57ea

Please sign in to comment.