Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offboard reserve mode ID #28939

Merged
merged 6 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AntennaTracker/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Mode {
GUIDED=4,
AUTO=10,
INITIALISING=16
// Mode number 30 reserved for "offboard" for external/lua control.
};

Mode() {}
Expand Down
2 changes: 2 additions & 0 deletions ArduCopter/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ class Mode {
AUTO_RTL = 27, // Auto RTL, this is not a true mode, AUTO will report as this mode if entered to perform a DO_LAND_START Landing sequence
TURTLE = 28, // Flip over after crash

// Mode number 30 reserved for "offboard" for external/lua control.

// Mode number 127 reserved for the "drone show mode" in the Skybrush
// fork at https://github.com/skybrush-io/ardupilot
};
Expand Down
2 changes: 2 additions & 0 deletions ArduPlane/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class Mode
#if HAL_QUADPLANE_ENABLED
LOITER_ALT_QLAND = 25,
#endif

// Mode number 30 reserved for "offboard" for external/lua control.
};

// Constructor
Expand Down
1 change: 1 addition & 0 deletions ArduSub/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class Mode
MANUAL = 19, // Pass-through input with no stabilization
MOTOR_DETECT = 20, // Automatically detect motors orientation
SURFTRAK = 21 // Track distance above seafloor (hold range)
// Mode number 30 reserved for "offboard" for external/lua control.
};

// constructor
Expand Down
1 change: 1 addition & 0 deletions Blimp/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Mode
VELOCITY = 2, // velocity mode
LOITER = 3, // loiter mode (position hold)
RTL = 4, // rtl
// Mode number 30 reserved for "offboard" for external/lua control.
};

// constructor
Expand Down
1 change: 1 addition & 0 deletions Rover/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Mode
SMART_RTL = 12,
GUIDED = 15,
INITIALISING = 16,
// Mode number 30 reserved for "offboard" for external/lua control.
};

// Constructor
Expand Down
Loading