-
Notifications
You must be signed in to change notification settings - Fork 17.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f67904
commit 25bed36
Showing
7 changed files
with
192 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
std_msgs/Header header | ||
|
||
uint8 APM_ROVER = 1 | ||
uint8 APM_ARDUCOPTER = 2 | ||
uint8 APM_ARDUPLANE = 3 | ||
uint8 APM_ANTENNATRACKER = 4 | ||
uint8 APM_UNKNOWN = 5 | ||
uint8 APM_REPLAY = 6 | ||
uint8 APM_ARDUSUB = 7 | ||
uint8 APM_IOFIRMWARE = 8 | ||
uint8 APM_AP_PERIPH = 9 | ||
uint8 APM_AP_DAL_STANDALONE = 10 | ||
uint8 APM_AP_BOOTLOADER = 11 | ||
uint8 APM_BLIMP = 12 | ||
uint8 APM_HELI = 13 | ||
uint8 vehicle_type # From AP_Vehicle_Type.h | ||
|
||
bool armed # true if vehicle is armed. | ||
uint8 mode # Vehicle mode, enum depending on vehicle type. | ||
bool flying # True if flying/driving/diving/tracking. | ||
|
||
uint8 FS_RADIO = 1 | ||
uint8 FS_BATTERY = 2 | ||
uint8 FS_GCS = 3 | ||
uint8 FS_EKF = 4 | ||
uint8[] failsafe # Array containing all active failsafe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// generated from rosidl_adapter/resource/msg.idl.em | ||
// with input from ardupilot_msgs/msg/Status.msg | ||
// generated code does not contain a copyright notice | ||
|
||
#include "std_msgs/msg/Header.idl" | ||
|
||
module ardupilot_msgs { | ||
module msg { | ||
module Status_Constants { | ||
const uint8 APM_ROVER = 1; | ||
const uint8 APM_ARDUCOPTER = 2; | ||
const uint8 APM_ARDUPLANE = 3; | ||
const uint8 APM_ANTENNATRACKER = 4; | ||
const uint8 APM_UNKNOWN = 5; | ||
const uint8 APM_REPLAY = 6; | ||
const uint8 APM_ARDUSUB = 7; | ||
const uint8 APM_IOFIRMWARE = 8; | ||
const uint8 APM_AP_PERIPH = 9; | ||
const uint8 APM_AP_DAL_STANDALONE = 10; | ||
const uint8 APM_AP_BOOTLOADER = 11; | ||
const uint8 APM_BLIMP = 12; | ||
const uint8 APM_HELI = 13; | ||
const uint8 FS_RADIO = 1; | ||
const uint8 FS_BATTERY = 2; | ||
const uint8 FS_GCS = 3; | ||
const uint8 FS_EKF = 4; | ||
}; | ||
struct Status { | ||
std_msgs::msg::Header header; | ||
|
||
@verbatim (language="comment", text= | ||
"From AP_Vehicle_Type.h") | ||
uint8 vehicle_type; | ||
|
||
@verbatim (language="comment", text= | ||
"true if vehicle is armed.") | ||
boolean armed; | ||
|
||
@verbatim (language="comment", text= | ||
"Vehicle mode, enum depending on vehicle type.") | ||
uint8 mode; | ||
|
||
@verbatim (language="comment", text= | ||
"True if flying/driving/diving/tracking.") | ||
boolean flying; | ||
|
||
@verbatim (language="comment", text= | ||
"Array containing all active failsafe.") | ||
sequence<uint8> failsafe; | ||
}; | ||
}; | ||
}; |