Skip to content

Commit 741c488

Browse files
author
gomavlib-bot
committed
1 parent a310af0 commit 741c488

File tree

16 files changed

+26
-14
lines changed

16 files changed

+26
-14
lines changed

pkg/dialects/all/enum_mav_cmd.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,10 @@ const (
487487
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
488488
// 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).
489489
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
490+
// Circular arc path waypoint.
491+
// This defines the end/exit point and angle (param1) of an arc path from the previous waypoint. A position is required before this command to define the start of the arc (e.g. current position, a MAV_CMD_NAV_WAYPOINT, or a MAV_CMD_NAV_ARC_WAYPOINT).
492+
// The resulting path is a circular arc in the NE frame, with the difference in height being defined by the difference in waypoint altitudes.
493+
MAV_CMD_NAV_ARC_WAYPOINT MAV_CMD = 36
490494
// Request a target system to start an upgrade of one (or all) of its components.
491495
// For example, the command might be sent to a companion computer to cause it to upgrade a connected flight controller.
492496
// The system doing the upgrade will report progress using the normal command protocol sequence for a long running operation.
@@ -775,6 +779,7 @@ var value_to_label_MAV_CMD = map[MAV_CMD]string{
775779
MAV_CMD_RESET_MPPT: "MAV_CMD_RESET_MPPT",
776780
MAV_CMD_PAYLOAD_CONTROL: "MAV_CMD_PAYLOAD_CONTROL",
777781
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
782+
MAV_CMD_NAV_ARC_WAYPOINT: "MAV_CMD_NAV_ARC_WAYPOINT",
778783
MAV_CMD_DO_UPGRADE: "MAV_CMD_DO_UPGRADE",
779784
MAV_CMD_ACTUATOR_GROUP_TEST: "MAV_CMD_ACTUATOR_GROUP_TEST",
780785
MAV_CMD_DO_SET_SYS_CMP_ID: "MAV_CMD_DO_SET_SYS_CMP_ID",
@@ -1000,6 +1005,7 @@ var label_to_value_MAV_CMD = map[string]MAV_CMD{
10001005
"MAV_CMD_RESET_MPPT": MAV_CMD_RESET_MPPT,
10011006
"MAV_CMD_PAYLOAD_CONTROL": MAV_CMD_PAYLOAD_CONTROL,
10021007
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
1008+
"MAV_CMD_NAV_ARC_WAYPOINT": MAV_CMD_NAV_ARC_WAYPOINT,
10031009
"MAV_CMD_DO_UPGRADE": MAV_CMD_DO_UPGRADE,
10041010
"MAV_CMD_ACTUATOR_GROUP_TEST": MAV_CMD_ACTUATOR_GROUP_TEST,
10051011
"MAV_CMD_DO_SET_SYS_CMP_ID": MAV_CMD_DO_SET_SYS_CMP_ID,

pkg/dialects/all/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
1515
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1616
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
17-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
17+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1818
MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
1919
// Command is not supported (unknown).
2020
MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED

pkg/dialects/ardupilotmega/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
1515
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1616
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
17-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
17+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1818
MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
1919
// Command is not supported (unknown).
2020
MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED

pkg/dialects/asluav/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
1515
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1616
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
17-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
17+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1818
MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
1919
// Command is not supported (unknown).
2020
MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED

pkg/dialects/avssuas/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
1515
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1616
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
17-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
17+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1818
MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
1919
// Command is not supported (unknown).
2020
MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED

pkg/dialects/common/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515
MAV_RESULT_ACCEPTED MAV_RESULT = 0
1616
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1717
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = 1
18-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
18+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1919
MAV_RESULT_DENIED MAV_RESULT = 2
2020
// Command is not supported (unknown).
2121
MAV_RESULT_UNSUPPORTED MAV_RESULT = 3

pkg/dialects/cubepilot/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
1515
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1616
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
17-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
17+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1818
MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
1919
// Command is not supported (unknown).
2020
MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED

pkg/dialects/development/enum_mav_cmd.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,10 @@ const (
416416
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
417417
// 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).
418418
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
419+
// Circular arc path waypoint.
420+
// This defines the end/exit point and angle (param1) of an arc path from the previous waypoint. A position is required before this command to define the start of the arc (e.g. current position, a MAV_CMD_NAV_WAYPOINT, or a MAV_CMD_NAV_ARC_WAYPOINT).
421+
// The resulting path is a circular arc in the NE frame, with the difference in height being defined by the difference in waypoint altitudes.
422+
MAV_CMD_NAV_ARC_WAYPOINT MAV_CMD = 36
419423
// Request a target system to start an upgrade of one (or all) of its components.
420424
// For example, the command might be sent to a companion computer to cause it to upgrade a connected flight controller.
421425
// The system doing the upgrade will report progress using the normal command protocol sequence for a long running operation.
@@ -646,6 +650,7 @@ var value_to_label_MAV_CMD = map[MAV_CMD]string{
646650
MAV_CMD_USER_5: "MAV_CMD_USER_5",
647651
MAV_CMD_CAN_FORWARD: "MAV_CMD_CAN_FORWARD",
648652
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
653+
MAV_CMD_NAV_ARC_WAYPOINT: "MAV_CMD_NAV_ARC_WAYPOINT",
649654
MAV_CMD_DO_UPGRADE: "MAV_CMD_DO_UPGRADE",
650655
MAV_CMD_ACTUATOR_GROUP_TEST: "MAV_CMD_ACTUATOR_GROUP_TEST",
651656
MAV_CMD_DO_SET_SYS_CMP_ID: "MAV_CMD_DO_SET_SYS_CMP_ID",
@@ -825,6 +830,7 @@ var label_to_value_MAV_CMD = map[string]MAV_CMD{
825830
"MAV_CMD_USER_5": MAV_CMD_USER_5,
826831
"MAV_CMD_CAN_FORWARD": MAV_CMD_CAN_FORWARD,
827832
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
833+
"MAV_CMD_NAV_ARC_WAYPOINT": MAV_CMD_NAV_ARC_WAYPOINT,
828834
"MAV_CMD_DO_UPGRADE": MAV_CMD_DO_UPGRADE,
829835
"MAV_CMD_ACTUATOR_GROUP_TEST": MAV_CMD_ACTUATOR_GROUP_TEST,
830836
"MAV_CMD_DO_SET_SYS_CMP_ID": MAV_CMD_DO_SET_SYS_CMP_ID,

pkg/dialects/development/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
1515
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1616
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
17-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
17+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1818
MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
1919
// Command is not supported (unknown).
2020
MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED

pkg/dialects/marsh/enum_mav_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
1515
// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
1616
MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
17-
// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
17+
// Command is invalid; it is supported but one or more parameter values are invalid (i.e. parameter reserved, value allowed by spec but not supported by flight stack, and so on). Retrying the same command and parameters will not work.
1818
MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
1919
// Command is not supported (unknown).
2020
MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED

0 commit comments

Comments
 (0)