Skip to content

Commit 6e9b0c3

Browse files
author
gomavlib-bot
committed
1 parent c65b9ed commit 6e9b0c3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+271
-43
lines changed

pkg/dialects/all/dialect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ var dial = &dialect.Dialect{
214214
&MessageDebugFloatArray{},
215215
&MessageOrbitExecutionStatus{},
216216
&MessageSmartBatteryInfo{},
217+
&MessageFigureEightExecutionStatus{},
217218
&MessageFuelStatus{},
218219
&MessageBatteryInfo{},
219220
&MessageGeneratorStatus{},
@@ -368,7 +369,6 @@ var dial = &dialect.Dialect{
368369
&MessageGlobalPosition{},
369370
&MessageSetVelocityLimits{},
370371
&MessageVelocityLimits{},
371-
&MessageFigureEightExecutionStatus{},
372372
&MessageBatteryStatusV2{},
373373
&MessageGroupStart{},
374374
&MessageGroupEnd{},

pkg/dialects/all/enum_mav_cmd.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ const (
4141
MAV_CMD_DO_FOLLOW_REPOSITION MAV_CMD = 33
4242
// Start orbiting on the circumference of a circle defined by the parameters. Setting values to NaN/INT32_MAX (as appropriate) results in using defaults.
4343
MAV_CMD_DO_ORBIT MAV_CMD = 34
44+
// Fly a figure eight path as defined by the parameters.
45+
// Set parameters to NaN/INT32_MAX (as appropriate) to use system-default values.
46+
// The command is intended for fixed wing vehicles (and VTOL hybrids flying in fixed-wing mode), allowing POI tracking for gimbals that don't support infinite rotation.
47+
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
48+
// 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).
49+
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
4450
// Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras.
4551
MAV_CMD_NAV_ROI MAV_CMD = 80
4652
// Control autonomous path planning on the MAV.
@@ -481,12 +487,6 @@ const (
481487
MAV_CMD_RESET_MPPT MAV_CMD = 40001
482488
// Mission command to perform a power cycle on payload
483489
MAV_CMD_PAYLOAD_CONTROL MAV_CMD = 40002
484-
// Fly a figure eight path as defined by the parameters.
485-
// Set parameters to NaN/INT32_MAX (as appropriate) to use system-default values.
486-
// The command is intended for fixed wing vehicles (and VTOL hybrids flying in fixed-wing mode), allowing POI tracking for gimbals that don't support infinite rotation.
487-
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
488-
// 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).
489-
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
490490
// Circular arc path waypoint.
491491
// 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).
492492
// The resulting path is a circular arc in the NE frame, with the difference in height being defined by the difference in waypoint altitudes.
@@ -593,6 +593,7 @@ var value_to_label_MAV_CMD = map[MAV_CMD]string{
593593
MAV_CMD_DO_FOLLOW: "MAV_CMD_DO_FOLLOW",
594594
MAV_CMD_DO_FOLLOW_REPOSITION: "MAV_CMD_DO_FOLLOW_REPOSITION",
595595
MAV_CMD_DO_ORBIT: "MAV_CMD_DO_ORBIT",
596+
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
596597
MAV_CMD_NAV_ROI: "MAV_CMD_NAV_ROI",
597598
MAV_CMD_NAV_PATHPLANNING: "MAV_CMD_NAV_PATHPLANNING",
598599
MAV_CMD_NAV_SPLINE_WAYPOINT: "MAV_CMD_NAV_SPLINE_WAYPOINT",
@@ -778,7 +779,6 @@ var value_to_label_MAV_CMD = map[MAV_CMD]string{
778779
MAV_CMD_SET_HAGL: "MAV_CMD_SET_HAGL",
779780
MAV_CMD_RESET_MPPT: "MAV_CMD_RESET_MPPT",
780781
MAV_CMD_PAYLOAD_CONTROL: "MAV_CMD_PAYLOAD_CONTROL",
781-
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
782782
MAV_CMD_NAV_ARC_WAYPOINT: "MAV_CMD_NAV_ARC_WAYPOINT",
783783
MAV_CMD_DO_UPGRADE: "MAV_CMD_DO_UPGRADE",
784784
MAV_CMD_ACTUATOR_GROUP_TEST: "MAV_CMD_ACTUATOR_GROUP_TEST",
@@ -819,6 +819,7 @@ var label_to_value_MAV_CMD = map[string]MAV_CMD{
819819
"MAV_CMD_DO_FOLLOW": MAV_CMD_DO_FOLLOW,
820820
"MAV_CMD_DO_FOLLOW_REPOSITION": MAV_CMD_DO_FOLLOW_REPOSITION,
821821
"MAV_CMD_DO_ORBIT": MAV_CMD_DO_ORBIT,
822+
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
822823
"MAV_CMD_NAV_ROI": MAV_CMD_NAV_ROI,
823824
"MAV_CMD_NAV_PATHPLANNING": MAV_CMD_NAV_PATHPLANNING,
824825
"MAV_CMD_NAV_SPLINE_WAYPOINT": MAV_CMD_NAV_SPLINE_WAYPOINT,
@@ -1004,7 +1005,6 @@ var label_to_value_MAV_CMD = map[string]MAV_CMD{
10041005
"MAV_CMD_SET_HAGL": MAV_CMD_SET_HAGL,
10051006
"MAV_CMD_RESET_MPPT": MAV_CMD_RESET_MPPT,
10061007
"MAV_CMD_PAYLOAD_CONTROL": MAV_CMD_PAYLOAD_CONTROL,
1007-
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
10081008
"MAV_CMD_NAV_ARC_WAYPOINT": MAV_CMD_NAV_ARC_WAYPOINT,
10091009
"MAV_CMD_DO_UPGRADE": MAV_CMD_DO_UPGRADE,
10101010
"MAV_CMD_ACTUATOR_GROUP_TEST": MAV_CMD_ACTUATOR_GROUP_TEST,

pkg/dialects/all/message_figure_eight_execution_status.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
package all
44

55
import (
6-
"github.com/bluenviron/gomavlib/v3/pkg/dialects/development"
6+
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
77
)
88

99
// Vehicle status report that is sent out while figure eight execution is in progress (see MAV_CMD_DO_FIGURE_EIGHT).
1010
// This may typically send at low rates: of the order of 2Hz.
11-
type MessageFigureEightExecutionStatus = development.MessageFigureEightExecutionStatus
11+
type MessageFigureEightExecutionStatus = common.MessageFigureEightExecutionStatus

pkg/dialects/ardupilotmega/dialect.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ var dial = &dialect.Dialect{
214214
&MessageDebugFloatArray{},
215215
&MessageOrbitExecutionStatus{},
216216
&MessageSmartBatteryInfo{},
217+
&MessageFigureEightExecutionStatus{},
217218
&MessageFuelStatus{},
218219
&MessageBatteryInfo{},
219220
&MessageGeneratorStatus{},

pkg/dialects/ardupilotmega/enum_mav_cmd.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ const (
4141
MAV_CMD_DO_FOLLOW_REPOSITION MAV_CMD = 33
4242
// Start orbiting on the circumference of a circle defined by the parameters. Setting values to NaN/INT32_MAX (as appropriate) results in using defaults.
4343
MAV_CMD_DO_ORBIT MAV_CMD = 34
44+
// Fly a figure eight path as defined by the parameters.
45+
// Set parameters to NaN/INT32_MAX (as appropriate) to use system-default values.
46+
// The command is intended for fixed wing vehicles (and VTOL hybrids flying in fixed-wing mode), allowing POI tracking for gimbals that don't support infinite rotation.
47+
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
48+
// 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).
49+
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
4450
// Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras.
4551
MAV_CMD_NAV_ROI MAV_CMD = 80
4652
// Control autonomous path planning on the MAV.
@@ -495,6 +501,7 @@ var value_to_label_MAV_CMD = map[MAV_CMD]string{
495501
MAV_CMD_DO_FOLLOW: "MAV_CMD_DO_FOLLOW",
496502
MAV_CMD_DO_FOLLOW_REPOSITION: "MAV_CMD_DO_FOLLOW_REPOSITION",
497503
MAV_CMD_DO_ORBIT: "MAV_CMD_DO_ORBIT",
504+
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
498505
MAV_CMD_NAV_ROI: "MAV_CMD_NAV_ROI",
499506
MAV_CMD_NAV_PATHPLANNING: "MAV_CMD_NAV_PATHPLANNING",
500507
MAV_CMD_NAV_SPLINE_WAYPOINT: "MAV_CMD_NAV_SPLINE_WAYPOINT",
@@ -696,6 +703,7 @@ var label_to_value_MAV_CMD = map[string]MAV_CMD{
696703
"MAV_CMD_DO_FOLLOW": MAV_CMD_DO_FOLLOW,
697704
"MAV_CMD_DO_FOLLOW_REPOSITION": MAV_CMD_DO_FOLLOW_REPOSITION,
698705
"MAV_CMD_DO_ORBIT": MAV_CMD_DO_ORBIT,
706+
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
699707
"MAV_CMD_NAV_ROI": MAV_CMD_NAV_ROI,
700708
"MAV_CMD_NAV_PATHPLANNING": MAV_CMD_NAV_PATHPLANNING,
701709
"MAV_CMD_NAV_SPLINE_WAYPOINT": MAV_CMD_NAV_SPLINE_WAYPOINT,
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//autogenerated:yes
2+
//nolint:revive,misspell,govet,lll
3+
package ardupilotmega
4+
5+
import (
6+
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
7+
)
8+
9+
// Vehicle status report that is sent out while figure eight execution is in progress (see MAV_CMD_DO_FIGURE_EIGHT).
10+
// This may typically send at low rates: of the order of 2Hz.
11+
type MessageFigureEightExecutionStatus = common.MessageFigureEightExecutionStatus

pkg/dialects/asluav/dialect.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ var dial = &dialect.Dialect{
214214
&MessageDebugFloatArray{},
215215
&MessageOrbitExecutionStatus{},
216216
&MessageSmartBatteryInfo{},
217+
&MessageFigureEightExecutionStatus{},
217218
&MessageFuelStatus{},
218219
&MessageBatteryInfo{},
219220
&MessageGeneratorStatus{},

pkg/dialects/asluav/enum_mav_cmd.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ const (
4141
MAV_CMD_DO_FOLLOW_REPOSITION MAV_CMD = 33
4242
// Start orbiting on the circumference of a circle defined by the parameters. Setting values to NaN/INT32_MAX (as appropriate) results in using defaults.
4343
MAV_CMD_DO_ORBIT MAV_CMD = 34
44+
// Fly a figure eight path as defined by the parameters.
45+
// Set parameters to NaN/INT32_MAX (as appropriate) to use system-default values.
46+
// The command is intended for fixed wing vehicles (and VTOL hybrids flying in fixed-wing mode), allowing POI tracking for gimbals that don't support infinite rotation.
47+
// This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED).
48+
// 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).
49+
MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35
4450
// Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras.
4551
MAV_CMD_NAV_ROI MAV_CMD = 80
4652
// Control autonomous path planning on the MAV.
@@ -432,6 +438,7 @@ var value_to_label_MAV_CMD = map[MAV_CMD]string{
432438
MAV_CMD_DO_FOLLOW: "MAV_CMD_DO_FOLLOW",
433439
MAV_CMD_DO_FOLLOW_REPOSITION: "MAV_CMD_DO_FOLLOW_REPOSITION",
434440
MAV_CMD_DO_ORBIT: "MAV_CMD_DO_ORBIT",
441+
MAV_CMD_DO_FIGURE_EIGHT: "MAV_CMD_DO_FIGURE_EIGHT",
435442
MAV_CMD_NAV_ROI: "MAV_CMD_NAV_ROI",
436443
MAV_CMD_NAV_PATHPLANNING: "MAV_CMD_NAV_PATHPLANNING",
437444
MAV_CMD_NAV_SPLINE_WAYPOINT: "MAV_CMD_NAV_SPLINE_WAYPOINT",
@@ -602,6 +609,7 @@ var label_to_value_MAV_CMD = map[string]MAV_CMD{
602609
"MAV_CMD_DO_FOLLOW": MAV_CMD_DO_FOLLOW,
603610
"MAV_CMD_DO_FOLLOW_REPOSITION": MAV_CMD_DO_FOLLOW_REPOSITION,
604611
"MAV_CMD_DO_ORBIT": MAV_CMD_DO_ORBIT,
612+
"MAV_CMD_DO_FIGURE_EIGHT": MAV_CMD_DO_FIGURE_EIGHT,
605613
"MAV_CMD_NAV_ROI": MAV_CMD_NAV_ROI,
606614
"MAV_CMD_NAV_PATHPLANNING": MAV_CMD_NAV_PATHPLANNING,
607615
"MAV_CMD_NAV_SPLINE_WAYPOINT": MAV_CMD_NAV_SPLINE_WAYPOINT,
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//autogenerated:yes
2+
//nolint:revive,misspell,govet,lll
3+
package asluav
4+
5+
import (
6+
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
7+
)
8+
9+
// Vehicle status report that is sent out while figure eight execution is in progress (see MAV_CMD_DO_FIGURE_EIGHT).
10+
// This may typically send at low rates: of the order of 2Hz.
11+
type MessageFigureEightExecutionStatus = common.MessageFigureEightExecutionStatus

pkg/dialects/avssuas/dialect.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ var dial = &dialect.Dialect{
214214
&MessageDebugFloatArray{},
215215
&MessageOrbitExecutionStatus{},
216216
&MessageSmartBatteryInfo{},
217+
&MessageFigureEightExecutionStatus{},
217218
&MessageFuelStatus{},
218219
&MessageBatteryInfo{},
219220
&MessageGeneratorStatus{},

0 commit comments

Comments
 (0)