-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(automatic) update dialects to rev https://github.com/mavlink/mavlink…
- Loading branch information
gomavlib-bot
committed
Nov 14, 2024
1 parent
a0b7119
commit abe57ea
Showing
27 changed files
with
180 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
pkg/dialects/pythonarraytest/message_smart_battery_info.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |