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 Dec 12, 2024
1 parent 1873a26 commit 7136616
Show file tree
Hide file tree
Showing 38 changed files with 26 additions and 259 deletions.
1 change: 0 additions & 1 deletion pkg/dialects/all/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ var dial = &dialect.Dialect{
&MessageSatcomLinkStatus{},
&MessageSensorAirflowAngles{},
// development
&MessageParamAckTransaction{},
&MessageAirspeed{},
&MessageSetVelocityLimits{},
&MessageVelocityLimits{},
Expand Down
4 changes: 0 additions & 4 deletions pkg/dialects/all/enum_mav_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,6 @@ const (
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
// Yaw and other degrees of freedom are not specified, and will be flight-stack specific (on vehicles where they can be controlled independent of the heading).
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
// Request to start or end a parameter transaction. Multiple kinds of transport layers can be used to exchange parameters in the transaction (param, param_ext and mavftp). The command response can either be a success/failure or an in progress in case the receiving side takes some time to apply the parameters.
MAV_CMD_PARAM_TRANSACTION MAV_CMD = 900
// Request a target system to start an upgrade of one (or all) of its components.
// For example, the command might be sent to a companion computer to cause it to upgrade a connected flight controller.
// The system doing the upgrade will report progress using the normal command protocol sequence for a long running operation.
Expand Down Expand Up @@ -748,7 +746,6 @@ var labels_MAV_CMD = map[MAV_CMD]string{
MAV_CMD_RESET_MPPT: "MAV_CMD_RESET_MPPT",
MAV_CMD_PAYLOAD_CONTROL: "MAV_CMD_PAYLOAD_CONTROL",
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
MAV_CMD_PARAM_TRANSACTION: "MAV_CMD_PARAM_TRANSACTION",
MAV_CMD_DO_UPGRADE: "MAV_CMD_DO_UPGRADE",
MAV_CMD_DO_SET_STANDARD_MODE: "MAV_CMD_DO_SET_STANDARD_MODE",
MAV_CMD_SET_AT_S_PARAM: "MAV_CMD_SET_AT_S_PARAM",
Expand Down Expand Up @@ -969,7 +966,6 @@ var values_MAV_CMD = map[string]MAV_CMD{
"MAV_CMD_RESET_MPPT": MAV_CMD_RESET_MPPT,
"MAV_CMD_PAYLOAD_CONTROL": MAV_CMD_PAYLOAD_CONTROL,
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
"MAV_CMD_PARAM_TRANSACTION": MAV_CMD_PARAM_TRANSACTION,
"MAV_CMD_DO_UPGRADE": MAV_CMD_DO_UPGRADE,
"MAV_CMD_DO_SET_STANDARD_MODE": MAV_CMD_DO_SET_STANDARD_MODE,
"MAV_CMD_SET_AT_S_PARAM": MAV_CMD_SET_AT_S_PARAM,
Expand Down
4 changes: 2 additions & 2 deletions pkg/dialects/all/enum_param_ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
// Result from PARAM_EXT_SET message.
type PARAM_ACK = common.PARAM_ACK

const (
Expand All @@ -16,6 +16,6 @@ const (
PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED
// Parameter failed to set
PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED
// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
// Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS
)
19 changes: 0 additions & 19 deletions pkg/dialects/all/enum_param_transaction_action.go

This file was deleted.

17 changes: 0 additions & 17 deletions pkg/dialects/all/enum_param_transaction_transport.go

This file was deleted.

10 changes: 0 additions & 10 deletions pkg/dialects/all/message_param_ack_transaction.go

This file was deleted.

1 change: 0 additions & 1 deletion pkg/dialects/all/message_param_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ import (

// Set a parameter value (write new value to permanent storage).
// The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.
// PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.
type MessageParamSet = common.MessageParamSet
4 changes: 2 additions & 2 deletions pkg/dialects/ardupilotmega/enum_param_ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
// Result from PARAM_EXT_SET message.
type PARAM_ACK = common.PARAM_ACK

const (
Expand All @@ -16,6 +16,6 @@ const (
PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED
// Parameter failed to set
PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED
// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
// Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS
)
1 change: 0 additions & 1 deletion pkg/dialects/ardupilotmega/message_param_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ import (

// Set a parameter value (write new value to permanent storage).
// The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.
// PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.
type MessageParamSet = common.MessageParamSet
4 changes: 2 additions & 2 deletions pkg/dialects/asluav/enum_param_ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
// Result from PARAM_EXT_SET message.
type PARAM_ACK = common.PARAM_ACK

const (
Expand All @@ -16,6 +16,6 @@ const (
PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED
// Parameter failed to set
PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED
// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
// Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS
)
1 change: 0 additions & 1 deletion pkg/dialects/asluav/message_param_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ import (

// Set a parameter value (write new value to permanent storage).
// The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.
// PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.
type MessageParamSet = common.MessageParamSet
4 changes: 2 additions & 2 deletions pkg/dialects/avssuas/enum_param_ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
// Result from PARAM_EXT_SET message.
type PARAM_ACK = common.PARAM_ACK

const (
Expand All @@ -16,6 +16,6 @@ const (
PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED
// Parameter failed to set
PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED
// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
// Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS
)
1 change: 0 additions & 1 deletion pkg/dialects/avssuas/message_param_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ import (

// Set a parameter value (write new value to permanent storage).
// The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.
// PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.
type MessageParamSet = common.MessageParamSet
4 changes: 2 additions & 2 deletions pkg/dialects/common/enum_param_ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
)

// Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
// Result from PARAM_EXT_SET message.
type PARAM_ACK uint64

const (
Expand All @@ -17,7 +17,7 @@ const (
PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = 1
// Parameter failed to set
PARAM_ACK_FAILED PARAM_ACK = 2
// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
// Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
PARAM_ACK_IN_PROGRESS PARAM_ACK = 3
)

Expand Down
1 change: 0 additions & 1 deletion pkg/dialects/common/message_param_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package common

// Set a parameter value (write new value to permanent storage).
// The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.
// PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.
type MessageParamSet struct {
// System ID
TargetSystem uint8
Expand Down
4 changes: 2 additions & 2 deletions pkg/dialects/cubepilot/enum_param_ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
// Result from PARAM_EXT_SET message.
type PARAM_ACK = common.PARAM_ACK

const (
Expand All @@ -16,6 +16,6 @@ const (
PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED
// Parameter failed to set
PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED
// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
// Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS
)
1 change: 0 additions & 1 deletion pkg/dialects/cubepilot/message_param_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ import (

// Set a parameter value (write new value to permanent storage).
// The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.
// PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.
type MessageParamSet = common.MessageParamSet
1 change: 0 additions & 1 deletion pkg/dialects/development/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ var dial = &dialect.Dialect{
&MessageOpenDroneIdSystemUpdate{},
&MessageHygrometerSensor{},
// development
&MessageParamAckTransaction{},
&MessageAirspeed{},
&MessageSetVelocityLimits{},
&MessageVelocityLimits{},
Expand Down
4 changes: 0 additions & 4 deletions pkg/dialects/development/enum_mav_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,6 @@ const (
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
// Yaw and other degrees of freedom are not specified, and will be flight-stack specific (on vehicles where they can be controlled independent of the heading).
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
// Request to start or end a parameter transaction. Multiple kinds of transport layers can be used to exchange parameters in the transaction (param, param_ext and mavftp). The command response can either be a success/failure or an in progress in case the receiving side takes some time to apply the parameters.
MAV_CMD_PARAM_TRANSACTION MAV_CMD = 900
// Request a target system to start an upgrade of one (or all) of its components.
// For example, the command might be sent to a companion computer to cause it to upgrade a connected flight controller.
// The system doing the upgrade will report progress using the normal command protocol sequence for a long running operation.
Expand Down Expand Up @@ -622,7 +620,6 @@ var labels_MAV_CMD = map[MAV_CMD]string{
MAV_CMD_USER_5: "MAV_CMD_USER_5",
MAV_CMD_CAN_FORWARD: "MAV_CMD_CAN_FORWARD",
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
MAV_CMD_PARAM_TRANSACTION: "MAV_CMD_PARAM_TRANSACTION",
MAV_CMD_DO_UPGRADE: "MAV_CMD_DO_UPGRADE",
MAV_CMD_DO_SET_STANDARD_MODE: "MAV_CMD_DO_SET_STANDARD_MODE",
MAV_CMD_SET_AT_S_PARAM: "MAV_CMD_SET_AT_S_PARAM",
Expand Down Expand Up @@ -798,7 +795,6 @@ var values_MAV_CMD = map[string]MAV_CMD{
"MAV_CMD_USER_5": MAV_CMD_USER_5,
"MAV_CMD_CAN_FORWARD": MAV_CMD_CAN_FORWARD,
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
"MAV_CMD_PARAM_TRANSACTION": MAV_CMD_PARAM_TRANSACTION,
"MAV_CMD_DO_UPGRADE": MAV_CMD_DO_UPGRADE,
"MAV_CMD_DO_SET_STANDARD_MODE": MAV_CMD_DO_SET_STANDARD_MODE,
"MAV_CMD_SET_AT_S_PARAM": MAV_CMD_SET_AT_S_PARAM,
Expand Down
4 changes: 2 additions & 2 deletions pkg/dialects/development/enum_param_ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
// Result from PARAM_EXT_SET message.
type PARAM_ACK = common.PARAM_ACK

const (
Expand All @@ -16,6 +16,6 @@ const (
PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED
// Parameter failed to set
PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED
// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
// Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS
)
Loading

0 comments on commit 7136616

Please sign in to comment.