Browse Source

MAVLink: added FENCE_ACTION_REPORT

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
299711f4a9
  1. 3
      libraries/GCS_MAVLink/include/mavlink/v1.0/ardupilotmega/ardupilotmega.h
  2. 2
      libraries/GCS_MAVLink/include/mavlink/v1.0/ardupilotmega/version.h
  3. 2
      libraries/GCS_MAVLink/include/mavlink/v1.0/common/version.h
  4. 3
      libraries/GCS_MAVLink/message_definitions/ardupilotmega.xml

3
libraries/GCS_MAVLink/include/mavlink/v1.0/ardupilotmega/ardupilotmega.h

@ -97,7 +97,8 @@ enum FENCE_ACTION @@ -97,7 +97,8 @@ enum FENCE_ACTION
{
FENCE_ACTION_NONE=0, /* Disable fenced mode | */
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

2
libraries/GCS_MAVLink/include/mavlink/v1.0/ardupilotmega/version.h

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
#ifndef 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_MAX_DIALECT_PAYLOAD_SIZE 101

2
libraries/GCS_MAVLink/include/mavlink/v1.0/common/version.h

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
#ifndef 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_MAX_DIALECT_PAYLOAD_SIZE 101

3
libraries/GCS_MAVLink/message_definitions/ardupilotmega.xml

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

Loading…
Cancel
Save