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 19, 2024
1 parent 166df13 commit 20b56f4
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 37 deletions.
2 changes: 2 additions & 0 deletions pkg/dialects/all/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/ardupilotmega/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/asluav/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/avssuas/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
78 changes: 41 additions & 37 deletions pkg/dialects/common/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,48 +52,52 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = 131072
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = 262144
)

var labels_MAV_PROTOCOL_CAPABILITY = map[MAV_PROTOCOL_CAPABILITY]string{
MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT: "MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT",
MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT: "MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT",
MAV_PROTOCOL_CAPABILITY_MISSION_INT: "MAV_PROTOCOL_CAPABILITY_MISSION_INT",
MAV_PROTOCOL_CAPABILITY_COMMAND_INT: "MAV_PROTOCOL_CAPABILITY_COMMAND_INT",
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE: "MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE",
MAV_PROTOCOL_CAPABILITY_FTP: "MAV_PROTOCOL_CAPABILITY_FTP",
MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET: "MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET",
MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED: "MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED",
MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT: "MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT",
MAV_PROTOCOL_CAPABILITY_TERRAIN: "MAV_PROTOCOL_CAPABILITY_TERRAIN",
MAV_PROTOCOL_CAPABILITY_RESERVED3: "MAV_PROTOCOL_CAPABILITY_RESERVED3",
MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION: "MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION",
MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION: "MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION",
MAV_PROTOCOL_CAPABILITY_MAVLINK2: "MAV_PROTOCOL_CAPABILITY_MAVLINK2",
MAV_PROTOCOL_CAPABILITY_MISSION_FENCE: "MAV_PROTOCOL_CAPABILITY_MISSION_FENCE",
MAV_PROTOCOL_CAPABILITY_MISSION_RALLY: "MAV_PROTOCOL_CAPABILITY_MISSION_RALLY",
MAV_PROTOCOL_CAPABILITY_RESERVED2: "MAV_PROTOCOL_CAPABILITY_RESERVED2",
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST: "MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST",
MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT: "MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT",
MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT: "MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT",
MAV_PROTOCOL_CAPABILITY_MISSION_INT: "MAV_PROTOCOL_CAPABILITY_MISSION_INT",
MAV_PROTOCOL_CAPABILITY_COMMAND_INT: "MAV_PROTOCOL_CAPABILITY_COMMAND_INT",
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE: "MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE",
MAV_PROTOCOL_CAPABILITY_FTP: "MAV_PROTOCOL_CAPABILITY_FTP",
MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET: "MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET",
MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED: "MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED",
MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT: "MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT",
MAV_PROTOCOL_CAPABILITY_TERRAIN: "MAV_PROTOCOL_CAPABILITY_TERRAIN",
MAV_PROTOCOL_CAPABILITY_RESERVED3: "MAV_PROTOCOL_CAPABILITY_RESERVED3",
MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION: "MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION",
MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION: "MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION",
MAV_PROTOCOL_CAPABILITY_MAVLINK2: "MAV_PROTOCOL_CAPABILITY_MAVLINK2",
MAV_PROTOCOL_CAPABILITY_MISSION_FENCE: "MAV_PROTOCOL_CAPABILITY_MISSION_FENCE",
MAV_PROTOCOL_CAPABILITY_MISSION_RALLY: "MAV_PROTOCOL_CAPABILITY_MISSION_RALLY",
MAV_PROTOCOL_CAPABILITY_RESERVED2: "MAV_PROTOCOL_CAPABILITY_RESERVED2",
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST: "MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST",
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER: "MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER",
}

var values_MAV_PROTOCOL_CAPABILITY = map[string]MAV_PROTOCOL_CAPABILITY{
"MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT": MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT,
"MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT": MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT,
"MAV_PROTOCOL_CAPABILITY_MISSION_INT": MAV_PROTOCOL_CAPABILITY_MISSION_INT,
"MAV_PROTOCOL_CAPABILITY_COMMAND_INT": MAV_PROTOCOL_CAPABILITY_COMMAND_INT,
"MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE": MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE,
"MAV_PROTOCOL_CAPABILITY_FTP": MAV_PROTOCOL_CAPABILITY_FTP,
"MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET": MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET,
"MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED": MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED,
"MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT": MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT,
"MAV_PROTOCOL_CAPABILITY_TERRAIN": MAV_PROTOCOL_CAPABILITY_TERRAIN,
"MAV_PROTOCOL_CAPABILITY_RESERVED3": MAV_PROTOCOL_CAPABILITY_RESERVED3,
"MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION": MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION,
"MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION": MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION,
"MAV_PROTOCOL_CAPABILITY_MAVLINK2": MAV_PROTOCOL_CAPABILITY_MAVLINK2,
"MAV_PROTOCOL_CAPABILITY_MISSION_FENCE": MAV_PROTOCOL_CAPABILITY_MISSION_FENCE,
"MAV_PROTOCOL_CAPABILITY_MISSION_RALLY": MAV_PROTOCOL_CAPABILITY_MISSION_RALLY,
"MAV_PROTOCOL_CAPABILITY_RESERVED2": MAV_PROTOCOL_CAPABILITY_RESERVED2,
"MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST": MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST,
"MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT": MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT,
"MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT": MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT,
"MAV_PROTOCOL_CAPABILITY_MISSION_INT": MAV_PROTOCOL_CAPABILITY_MISSION_INT,
"MAV_PROTOCOL_CAPABILITY_COMMAND_INT": MAV_PROTOCOL_CAPABILITY_COMMAND_INT,
"MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE": MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE,
"MAV_PROTOCOL_CAPABILITY_FTP": MAV_PROTOCOL_CAPABILITY_FTP,
"MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET": MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET,
"MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED": MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED,
"MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT": MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT,
"MAV_PROTOCOL_CAPABILITY_TERRAIN": MAV_PROTOCOL_CAPABILITY_TERRAIN,
"MAV_PROTOCOL_CAPABILITY_RESERVED3": MAV_PROTOCOL_CAPABILITY_RESERVED3,
"MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION": MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION,
"MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION": MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION,
"MAV_PROTOCOL_CAPABILITY_MAVLINK2": MAV_PROTOCOL_CAPABILITY_MAVLINK2,
"MAV_PROTOCOL_CAPABILITY_MISSION_FENCE": MAV_PROTOCOL_CAPABILITY_MISSION_FENCE,
"MAV_PROTOCOL_CAPABILITY_MISSION_RALLY": MAV_PROTOCOL_CAPABILITY_MISSION_RALLY,
"MAV_PROTOCOL_CAPABILITY_RESERVED2": MAV_PROTOCOL_CAPABILITY_RESERVED2,
"MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST": MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST,
"MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER": MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER,
}

// MarshalText implements the encoding.TextMarshaler interface.
Expand All @@ -102,7 +106,7 @@ func (e MAV_PROTOCOL_CAPABILITY) MarshalText() ([]byte, error) {
return []byte("0"), nil
}
var names []string
for i := 0; i < 18; i++ {
for i := 0; i < 19; i++ {
mask := MAV_PROTOCOL_CAPABILITY(1 << i)
if e&mask == mask {
names = append(names, labels_MAV_PROTOCOL_CAPABILITY[mask])
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/cubepilot/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/development/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/matrixpilot/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/paparazzi/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/pythonarraytest/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/storm32/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/ualberta/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)
2 changes: 2 additions & 0 deletions pkg/dialects/uavionix/enum_mav_protocol_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ const (
// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
// This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER
)

0 comments on commit 20b56f4

Please sign in to comment.