update xml, and pymavlink
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
|
||||
MAVPACKED(
|
||||
typedef struct __mavlink_safety_allowed_area_t {
|
||||
float p1x; /*< x position 1 / Latitude 1*/
|
||||
float p1y; /*< y position 1 / Longitude 1*/
|
||||
float p1z; /*< z position 1 / Altitude 1*/
|
||||
float p2x; /*< x position 2 / Latitude 2*/
|
||||
float p2y; /*< y position 2 / Longitude 2*/
|
||||
float p2z; /*< z position 2 / Altitude 2*/
|
||||
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.*/
|
||||
float p1x; /*< [m] x position 1 / Latitude 1*/
|
||||
float p1y; /*< [m] y position 1 / Longitude 1*/
|
||||
float p1z; /*< [m] z position 1 / Altitude 1*/
|
||||
float p2x; /*< [m] x position 2 / Latitude 2*/
|
||||
float p2y; /*< [m] y position 2 / Longitude 2*/
|
||||
float p2z; /*< [m] z position 2 / Altitude 2*/
|
||||
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.*/
|
||||
}) mavlink_safety_allowed_area_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_SAFETY_ALLOWED_AREA_LEN 25
|
||||
@@ -59,13 +59,13 @@ typedef struct __mavlink_safety_allowed_area_t {
|
||||
* @param component_id ID of this component (e.g. 200 for IMU)
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
*
|
||||
* @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 p1x x position 1 / Latitude 1
|
||||
* @param p1y y position 1 / Longitude 1
|
||||
* @param p1z z position 1 / Altitude 1
|
||||
* @param p2x x position 2 / Latitude 2
|
||||
* @param p2y y position 2 / Longitude 2
|
||||
* @param p2z z position 2 / Altitude 2
|
||||
* @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 p1x [m] x position 1 / Latitude 1
|
||||
* @param p1y [m] y position 1 / Longitude 1
|
||||
* @param p1z [m] z position 1 / Altitude 1
|
||||
* @param p2x [m] x position 2 / Latitude 2
|
||||
* @param p2y [m] y position 2 / Longitude 2
|
||||
* @param p2z [m] z position 2 / Altitude 2
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_safety_allowed_area_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
@@ -105,13 +105,13 @@ static inline uint16_t mavlink_msg_safety_allowed_area_pack(uint8_t system_id, u
|
||||
* @param component_id ID of this component (e.g. 200 for IMU)
|
||||
* @param chan The MAVLink channel this message will be sent over
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
* @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 p1x x position 1 / Latitude 1
|
||||
* @param p1y y position 1 / Longitude 1
|
||||
* @param p1z z position 1 / Altitude 1
|
||||
* @param p2x x position 2 / Latitude 2
|
||||
* @param p2y y position 2 / Longitude 2
|
||||
* @param p2z z position 2 / Altitude 2
|
||||
* @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 p1x [m] x position 1 / Latitude 1
|
||||
* @param p1y [m] y position 1 / Longitude 1
|
||||
* @param p1z [m] z position 1 / Altitude 1
|
||||
* @param p2x [m] x position 2 / Latitude 2
|
||||
* @param p2y [m] y position 2 / Longitude 2
|
||||
* @param p2z [m] z position 2 / Altitude 2
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_safety_allowed_area_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
@@ -177,13 +177,13 @@ static inline uint16_t mavlink_msg_safety_allowed_area_encode_chan(uint8_t syste
|
||||
* @brief Send a safety_allowed_area message
|
||||
* @param chan MAVLink channel to send the message
|
||||
*
|
||||
* @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 p1x x position 1 / Latitude 1
|
||||
* @param p1y y position 1 / Longitude 1
|
||||
* @param p1z z position 1 / Altitude 1
|
||||
* @param p2x x position 2 / Latitude 2
|
||||
* @param p2y y position 2 / Longitude 2
|
||||
* @param p2z z position 2 / Altitude 2
|
||||
* @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 p1x [m] x position 1 / Latitude 1
|
||||
* @param p1y [m] y position 1 / Longitude 1
|
||||
* @param p1z [m] z position 1 / Altitude 1
|
||||
* @param p2x [m] x position 2 / Latitude 2
|
||||
* @param p2y [m] y position 2 / Longitude 2
|
||||
* @param p2z [m] z position 2 / Altitude 2
|
||||
*/
|
||||
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
|
||||
@@ -272,7 +272,7 @@ static inline void mavlink_msg_safety_allowed_area_send_buf(mavlink_message_t *m
|
||||
/**
|
||||
* @brief Get field frame from safety_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, as defined by MAV_FRAME enum. 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_allowed_area_get_frame(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -282,7 +282,7 @@ static inline uint8_t mavlink_msg_safety_allowed_area_get_frame(const mavlink_me
|
||||
/**
|
||||
* @brief Get field p1x from safety_allowed_area message
|
||||
*
|
||||
* @return x position 1 / Latitude 1
|
||||
* @return [m] x position 1 / Latitude 1
|
||||
*/
|
||||
static inline float mavlink_msg_safety_allowed_area_get_p1x(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -292,7 +292,7 @@ static inline float mavlink_msg_safety_allowed_area_get_p1x(const mavlink_messag
|
||||
/**
|
||||
* @brief Get field p1y from safety_allowed_area message
|
||||
*
|
||||
* @return y position 1 / Longitude 1
|
||||
* @return [m] y position 1 / Longitude 1
|
||||
*/
|
||||
static inline float mavlink_msg_safety_allowed_area_get_p1y(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -302,7 +302,7 @@ static inline float mavlink_msg_safety_allowed_area_get_p1y(const mavlink_messag
|
||||
/**
|
||||
* @brief Get field p1z from safety_allowed_area message
|
||||
*
|
||||
* @return z position 1 / Altitude 1
|
||||
* @return [m] z position 1 / Altitude 1
|
||||
*/
|
||||
static inline float mavlink_msg_safety_allowed_area_get_p1z(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -312,7 +312,7 @@ static inline float mavlink_msg_safety_allowed_area_get_p1z(const mavlink_messag
|
||||
/**
|
||||
* @brief Get field p2x from safety_allowed_area message
|
||||
*
|
||||
* @return x position 2 / Latitude 2
|
||||
* @return [m] x position 2 / Latitude 2
|
||||
*/
|
||||
static inline float mavlink_msg_safety_allowed_area_get_p2x(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -322,7 +322,7 @@ static inline float mavlink_msg_safety_allowed_area_get_p2x(const mavlink_messag
|
||||
/**
|
||||
* @brief Get field p2y from safety_allowed_area message
|
||||
*
|
||||
* @return y position 2 / Longitude 2
|
||||
* @return [m] y position 2 / Longitude 2
|
||||
*/
|
||||
static inline float mavlink_msg_safety_allowed_area_get_p2y(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -332,7 +332,7 @@ static inline float mavlink_msg_safety_allowed_area_get_p2y(const mavlink_messag
|
||||
/**
|
||||
* @brief Get field p2z from safety_allowed_area message
|
||||
*
|
||||
* @return z position 2 / Altitude 2
|
||||
* @return [m] z position 2 / Altitude 2
|
||||
*/
|
||||
static inline float mavlink_msg_safety_allowed_area_get_p2z(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user