MAVLink: added FENCE_ACTION_REPORT

This commit is contained in:
Andrew Tridgell 2012-08-15 11:16:55 +10:00
parent 44852276da
commit 7bb8fa1e58
4 changed files with 7 additions and 3 deletions

View File

@ -97,7 +97,8 @@ enum FENCE_ACTION
{ {
FENCE_ACTION_NONE=0, /* Disable fenced mode | */ FENCE_ACTION_NONE=0, /* Disable fenced mode | */
FENCE_ACTION_GUIDED=1, /* Switched to guided mode to return point (fence point 0) | */ FENCE_ACTION_GUIDED=1, /* Switched to guided mode to return point (fence point 0) | */
FENCE_ACTION_ENUM_END=2, /* | */ FENCE_ACTION_REPORT=2, /* Report fence breach, but don't take action | */
FENCE_ACTION_ENUM_END=3, /* | */
}; };
#endif #endif

View File

@ -5,7 +5,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Sat Aug 11 14:26:42 2012" #define MAVLINK_BUILD_DATE "Wed Aug 15 07:29:40 2012"
#define MAVLINK_WIRE_PROTOCOL_VERSION "1.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "1.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 101 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 101

View File

@ -5,7 +5,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Sat Aug 11 14:26:42 2012" #define MAVLINK_BUILD_DATE "Wed Aug 15 07:29:40 2012"
#define MAVLINK_WIRE_PROTOCOL_VERSION "1.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "1.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 101 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 101

View File

@ -76,6 +76,9 @@
<entry name="FENCE_ACTION_GUIDED" value="1"> <entry name="FENCE_ACTION_GUIDED" value="1">
<description>Switched to guided mode to return point (fence point 0)</description> <description>Switched to guided mode to return point (fence point 0)</description>
</entry> </entry>
<entry name="FENCE_ACTION_REPORT" value="2">
<description>Report fence breach, but don't take action</description>
</entry>
</enum> </enum>
<enum name="FENCE_BREACH"> <enum name="FENCE_BREACH">