update xml, and pymavlink
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
|
||||
MAVPACKED(
|
||||
typedef struct __mavlink_gps_global_origin_t {
|
||||
int32_t latitude; /*< Latitude (WGS84), in degrees * 1E7*/
|
||||
int32_t longitude; /*< Longitude (WGS84), in degrees * 1E7*/
|
||||
int32_t altitude; /*< Altitude (AMSL), in meters * 1000 (positive for up)*/
|
||||
uint64_t time_usec; /*< Timestamp (microseconds since UNIX epoch or microseconds since system boot)*/
|
||||
int32_t latitude; /*< [degE7] Latitude (WGS84), in degrees * 1E7*/
|
||||
int32_t longitude; /*< [degE7] Longitude (WGS84), in degrees * 1E7*/
|
||||
int32_t altitude; /*< [mm] Altitude (AMSL), in meters * 1000 (positive for up)*/
|
||||
uint64_t time_usec; /*< [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)*/
|
||||
}) mavlink_gps_global_origin_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN_LEN 20
|
||||
@@ -50,10 +50,10 @@ typedef struct __mavlink_gps_global_origin_t {
|
||||
* @param component_id ID of this component (e.g. 200 for IMU)
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
*
|
||||
* @param latitude Latitude (WGS84), in degrees * 1E7
|
||||
* @param longitude Longitude (WGS84), in degrees * 1E7
|
||||
* @param altitude Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param latitude [degE7] Latitude (WGS84), in degrees * 1E7
|
||||
* @param longitude [degE7] Longitude (WGS84), in degrees * 1E7
|
||||
* @param altitude [mm] Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_gps_global_origin_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
@@ -87,10 +87,10 @@ static inline uint16_t mavlink_msg_gps_global_origin_pack(uint8_t system_id, uin
|
||||
* @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 latitude Latitude (WGS84), in degrees * 1E7
|
||||
* @param longitude Longitude (WGS84), in degrees * 1E7
|
||||
* @param altitude Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param latitude [degE7] Latitude (WGS84), in degrees * 1E7
|
||||
* @param longitude [degE7] Longitude (WGS84), in degrees * 1E7
|
||||
* @param altitude [mm] Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_gps_global_origin_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
@@ -150,10 +150,10 @@ static inline uint16_t mavlink_msg_gps_global_origin_encode_chan(uint8_t system_
|
||||
* @brief Send a gps_global_origin message
|
||||
* @param chan MAVLink channel to send the message
|
||||
*
|
||||
* @param latitude Latitude (WGS84), in degrees * 1E7
|
||||
* @param longitude Longitude (WGS84), in degrees * 1E7
|
||||
* @param altitude Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param latitude [degE7] Latitude (WGS84), in degrees * 1E7
|
||||
* @param longitude [degE7] Longitude (WGS84), in degrees * 1E7
|
||||
* @param altitude [mm] Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
*/
|
||||
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
|
||||
@@ -230,7 +230,7 @@ static inline void mavlink_msg_gps_global_origin_send_buf(mavlink_message_t *msg
|
||||
/**
|
||||
* @brief Get field latitude from gps_global_origin message
|
||||
*
|
||||
* @return Latitude (WGS84), in degrees * 1E7
|
||||
* @return [degE7] Latitude (WGS84), in degrees * 1E7
|
||||
*/
|
||||
static inline int32_t mavlink_msg_gps_global_origin_get_latitude(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -240,7 +240,7 @@ static inline int32_t mavlink_msg_gps_global_origin_get_latitude(const mavlink_m
|
||||
/**
|
||||
* @brief Get field longitude from gps_global_origin message
|
||||
*
|
||||
* @return Longitude (WGS84), in degrees * 1E7
|
||||
* @return [degE7] Longitude (WGS84), in degrees * 1E7
|
||||
*/
|
||||
static inline int32_t mavlink_msg_gps_global_origin_get_longitude(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -250,7 +250,7 @@ static inline int32_t mavlink_msg_gps_global_origin_get_longitude(const mavlink_
|
||||
/**
|
||||
* @brief Get field altitude from gps_global_origin message
|
||||
*
|
||||
* @return Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
* @return [mm] Altitude (AMSL), in meters * 1000 (positive for up)
|
||||
*/
|
||||
static inline int32_t mavlink_msg_gps_global_origin_get_altitude(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -260,7 +260,7 @@ static inline int32_t mavlink_msg_gps_global_origin_get_altitude(const mavlink_m
|
||||
/**
|
||||
* @brief Get field time_usec from gps_global_origin message
|
||||
*
|
||||
* @return Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @return [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
*/
|
||||
static inline uint64_t mavlink_msg_gps_global_origin_get_time_usec(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user