update protocol

This commit is contained in:
Matt
2018-08-07 10:12:17 +08:00
parent 6a1a7939a4
commit 730db31376
202 changed files with 9361 additions and 6933 deletions
+5 -5
View File
@@ -13,7 +13,7 @@ typedef struct __mavlink_safety_set_allowed_area_t {
float p2z; /*< [m] z position 2 / Altitude 2*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t frame; /*< Coordinate frame, as defined by MAV_FRAME enum. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.*/
uint8_t frame; /*< Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.*/
}) mavlink_safety_set_allowed_area_t;
#define MAVLINK_MSG_ID_SAFETY_SET_ALLOWED_AREA_LEN 27
@@ -67,7 +67,7 @@ typedef struct __mavlink_safety_set_allowed_area_t {
*
* @param target_system System ID
* @param target_component Component ID
* @param frame Coordinate frame, as defined by MAV_FRAME enum. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
* @param frame Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
* @param p1x [m] x position 1 / Latitude 1
* @param p1y [m] y position 1 / Longitude 1
* @param p1z [m] z position 1 / Altitude 1
@@ -119,7 +119,7 @@ static inline uint16_t mavlink_msg_safety_set_allowed_area_pack(uint8_t system_i
* @param msg The MAVLink message to compress the data into
* @param target_system System ID
* @param target_component Component ID
* @param frame Coordinate frame, as defined by MAV_FRAME enum. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
* @param frame Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
* @param p1x [m] x position 1 / Latitude 1
* @param p1y [m] y position 1 / Longitude 1
* @param p1z [m] z position 1 / Altitude 1
@@ -197,7 +197,7 @@ static inline uint16_t mavlink_msg_safety_set_allowed_area_encode_chan(uint8_t s
*
* @param target_system System ID
* @param target_component Component ID
* @param frame Coordinate frame, as defined by MAV_FRAME enum. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
* @param frame Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
* @param p1x [m] x position 1 / Latitude 1
* @param p1y [m] y position 1 / Longitude 1
* @param p1z [m] z position 1 / Altitude 1
@@ -320,7 +320,7 @@ static inline uint8_t mavlink_msg_safety_set_allowed_area_get_target_component(c
/**
* @brief Get field frame from safety_set_allowed_area message
*
* @return Coordinate frame, as defined by MAV_FRAME enum. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
* @return Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
*/
static inline uint8_t mavlink_msg_safety_set_allowed_area_get_frame(const mavlink_message_t* msg)
{