update xml, and pymavlink
This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
|
||||
MAVPACKED(
|
||||
typedef struct __mavlink_safety_set_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 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.*/
|
||||
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 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.*/
|
||||
}) mavlink_safety_set_allowed_area_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_SAFETY_SET_ALLOWED_AREA_LEN 27
|
||||
@@ -65,15 +65,15 @@ typedef struct __mavlink_safety_set_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 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 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 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 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_set_allowed_area_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
@@ -117,15 +117,15 @@ static inline uint16_t mavlink_msg_safety_set_allowed_area_pack(uint8_t system_i
|
||||
* @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 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 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 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 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_set_allowed_area_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
@@ -195,15 +195,15 @@ static inline uint16_t mavlink_msg_safety_set_allowed_area_encode_chan(uint8_t s
|
||||
* @brief Send a safety_set_allowed_area message
|
||||
* @param chan MAVLink channel to send the message
|
||||
*
|
||||
* @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 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 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 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
|
||||
|
||||
@@ -300,7 +300,7 @@ static inline void mavlink_msg_safety_set_allowed_area_send_buf(mavlink_message_
|
||||
/**
|
||||
* @brief Get field target_system from safety_set_allowed_area message
|
||||
*
|
||||
* @return System ID
|
||||
* @return System ID
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_safety_set_allowed_area_get_target_system(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -310,7 +310,7 @@ static inline uint8_t mavlink_msg_safety_set_allowed_area_get_target_system(cons
|
||||
/**
|
||||
* @brief Get field target_component from safety_set_allowed_area message
|
||||
*
|
||||
* @return Component ID
|
||||
* @return Component ID
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_safety_set_allowed_area_get_target_component(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -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, 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_set_allowed_area_get_frame(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -330,7 +330,7 @@ static inline uint8_t mavlink_msg_safety_set_allowed_area_get_frame(const mavlin
|
||||
/**
|
||||
* @brief Get field p1x from safety_set_allowed_area message
|
||||
*
|
||||
* @return x position 1 / Latitude 1
|
||||
* @return [m] x position 1 / Latitude 1
|
||||
*/
|
||||
static inline float mavlink_msg_safety_set_allowed_area_get_p1x(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -340,7 +340,7 @@ static inline float mavlink_msg_safety_set_allowed_area_get_p1x(const mavlink_me
|
||||
/**
|
||||
* @brief Get field p1y from safety_set_allowed_area message
|
||||
*
|
||||
* @return y position 1 / Longitude 1
|
||||
* @return [m] y position 1 / Longitude 1
|
||||
*/
|
||||
static inline float mavlink_msg_safety_set_allowed_area_get_p1y(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -350,7 +350,7 @@ static inline float mavlink_msg_safety_set_allowed_area_get_p1y(const mavlink_me
|
||||
/**
|
||||
* @brief Get field p1z from safety_set_allowed_area message
|
||||
*
|
||||
* @return z position 1 / Altitude 1
|
||||
* @return [m] z position 1 / Altitude 1
|
||||
*/
|
||||
static inline float mavlink_msg_safety_set_allowed_area_get_p1z(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -360,7 +360,7 @@ static inline float mavlink_msg_safety_set_allowed_area_get_p1z(const mavlink_me
|
||||
/**
|
||||
* @brief Get field p2x from safety_set_allowed_area message
|
||||
*
|
||||
* @return x position 2 / Latitude 2
|
||||
* @return [m] x position 2 / Latitude 2
|
||||
*/
|
||||
static inline float mavlink_msg_safety_set_allowed_area_get_p2x(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -370,7 +370,7 @@ static inline float mavlink_msg_safety_set_allowed_area_get_p2x(const mavlink_me
|
||||
/**
|
||||
* @brief Get field p2y from safety_set_allowed_area message
|
||||
*
|
||||
* @return y position 2 / Longitude 2
|
||||
* @return [m] y position 2 / Longitude 2
|
||||
*/
|
||||
static inline float mavlink_msg_safety_set_allowed_area_get_p2y(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -380,7 +380,7 @@ static inline float mavlink_msg_safety_set_allowed_area_get_p2y(const mavlink_me
|
||||
/**
|
||||
* @brief Get field p2z from safety_set_allowed_area message
|
||||
*
|
||||
* @return z position 2 / Altitude 2
|
||||
* @return [m] z position 2 / Altitude 2
|
||||
*/
|
||||
static inline float mavlink_msg_safety_set_allowed_area_get_p2z(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user