update protocol
This commit is contained in:
@@ -9,17 +9,17 @@ typedef struct __mavlink_mission_item_t {
|
||||
float param2; /*< PARAM2, see MAV_CMD enum*/
|
||||
float param3; /*< PARAM3, see MAV_CMD enum*/
|
||||
float param4; /*< PARAM4, see MAV_CMD enum*/
|
||||
float x; /*< PARAM5 / local: x position, global: latitude*/
|
||||
float y; /*< PARAM6 / y position: global: longitude*/
|
||||
float z; /*< PARAM7 / z position: global: altitude (relative or absolute, depending on frame.*/
|
||||
float x; /*< PARAM5 / local: X coordinate, global: latitude*/
|
||||
float y; /*< PARAM6 / local: Y coordinate, global: longitude*/
|
||||
float z; /*< PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame).*/
|
||||
uint16_t seq; /*< Sequence*/
|
||||
uint16_t command; /*< The scheduled action for the waypoint, as defined by MAV_CMD enum*/
|
||||
uint16_t command; /*< The scheduled action for the waypoint.*/
|
||||
uint8_t target_system; /*< System ID*/
|
||||
uint8_t target_component; /*< Component ID*/
|
||||
uint8_t frame; /*< The coordinate system of the waypoint, as defined by MAV_FRAME enum*/
|
||||
uint8_t frame; /*< The coordinate system of the waypoint.*/
|
||||
uint8_t current; /*< false:0, true:1*/
|
||||
uint8_t autocontinue; /*< autocontinue to next wp*/
|
||||
uint8_t mission_type; /*< Mission type, see MAV_MISSION_TYPE*/
|
||||
uint8_t autocontinue; /*< Autocontinue to next waypoint*/
|
||||
uint8_t mission_type; /*< Mission type.*/
|
||||
}) mavlink_mission_item_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_MISSION_ITEM_LEN 38
|
||||
@@ -86,18 +86,18 @@ typedef struct __mavlink_mission_item_t {
|
||||
* @param target_system System ID
|
||||
* @param target_component Component ID
|
||||
* @param seq Sequence
|
||||
* @param frame The coordinate system of the waypoint, as defined by MAV_FRAME enum
|
||||
* @param command The scheduled action for the waypoint, as defined by MAV_CMD enum
|
||||
* @param frame The coordinate system of the waypoint.
|
||||
* @param command The scheduled action for the waypoint.
|
||||
* @param current false:0, true:1
|
||||
* @param autocontinue autocontinue to next wp
|
||||
* @param autocontinue Autocontinue to next waypoint
|
||||
* @param param1 PARAM1, see MAV_CMD enum
|
||||
* @param param2 PARAM2, see MAV_CMD enum
|
||||
* @param param3 PARAM3, see MAV_CMD enum
|
||||
* @param param4 PARAM4, see MAV_CMD enum
|
||||
* @param x PARAM5 / local: x position, global: latitude
|
||||
* @param y PARAM6 / y position: global: longitude
|
||||
* @param z PARAM7 / z position: global: altitude (relative or absolute, depending on frame.
|
||||
* @param mission_type Mission type, see MAV_MISSION_TYPE
|
||||
* @param x PARAM5 / local: X coordinate, global: latitude
|
||||
* @param y PARAM6 / local: Y coordinate, global: longitude
|
||||
* @param z PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame).
|
||||
* @param mission_type Mission type.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_mission_item_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
@@ -156,18 +156,18 @@ static inline uint16_t mavlink_msg_mission_item_pack(uint8_t system_id, uint8_t
|
||||
* @param target_system System ID
|
||||
* @param target_component Component ID
|
||||
* @param seq Sequence
|
||||
* @param frame The coordinate system of the waypoint, as defined by MAV_FRAME enum
|
||||
* @param command The scheduled action for the waypoint, as defined by MAV_CMD enum
|
||||
* @param frame The coordinate system of the waypoint.
|
||||
* @param command The scheduled action for the waypoint.
|
||||
* @param current false:0, true:1
|
||||
* @param autocontinue autocontinue to next wp
|
||||
* @param autocontinue Autocontinue to next waypoint
|
||||
* @param param1 PARAM1, see MAV_CMD enum
|
||||
* @param param2 PARAM2, see MAV_CMD enum
|
||||
* @param param3 PARAM3, see MAV_CMD enum
|
||||
* @param param4 PARAM4, see MAV_CMD enum
|
||||
* @param x PARAM5 / local: x position, global: latitude
|
||||
* @param y PARAM6 / y position: global: longitude
|
||||
* @param z PARAM7 / z position: global: altitude (relative or absolute, depending on frame.
|
||||
* @param mission_type Mission type, see MAV_MISSION_TYPE
|
||||
* @param x PARAM5 / local: X coordinate, global: latitude
|
||||
* @param y PARAM6 / local: Y coordinate, global: longitude
|
||||
* @param z PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame).
|
||||
* @param mission_type Mission type.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_mission_item_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
@@ -252,18 +252,18 @@ static inline uint16_t mavlink_msg_mission_item_encode_chan(uint8_t system_id, u
|
||||
* @param target_system System ID
|
||||
* @param target_component Component ID
|
||||
* @param seq Sequence
|
||||
* @param frame The coordinate system of the waypoint, as defined by MAV_FRAME enum
|
||||
* @param command The scheduled action for the waypoint, as defined by MAV_CMD enum
|
||||
* @param frame The coordinate system of the waypoint.
|
||||
* @param command The scheduled action for the waypoint.
|
||||
* @param current false:0, true:1
|
||||
* @param autocontinue autocontinue to next wp
|
||||
* @param autocontinue Autocontinue to next waypoint
|
||||
* @param param1 PARAM1, see MAV_CMD enum
|
||||
* @param param2 PARAM2, see MAV_CMD enum
|
||||
* @param param3 PARAM3, see MAV_CMD enum
|
||||
* @param param4 PARAM4, see MAV_CMD enum
|
||||
* @param x PARAM5 / local: x position, global: latitude
|
||||
* @param y PARAM6 / y position: global: longitude
|
||||
* @param z PARAM7 / z position: global: altitude (relative or absolute, depending on frame.
|
||||
* @param mission_type Mission type, see MAV_MISSION_TYPE
|
||||
* @param x PARAM5 / local: X coordinate, global: latitude
|
||||
* @param y PARAM6 / local: Y coordinate, global: longitude
|
||||
* @param z PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame).
|
||||
* @param mission_type Mission type.
|
||||
*/
|
||||
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
|
||||
@@ -414,7 +414,7 @@ static inline uint16_t mavlink_msg_mission_item_get_seq(const mavlink_message_t*
|
||||
/**
|
||||
* @brief Get field frame from mission_item message
|
||||
*
|
||||
* @return The coordinate system of the waypoint, as defined by MAV_FRAME enum
|
||||
* @return The coordinate system of the waypoint.
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_mission_item_get_frame(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -424,7 +424,7 @@ static inline uint8_t mavlink_msg_mission_item_get_frame(const mavlink_message_t
|
||||
/**
|
||||
* @brief Get field command from mission_item message
|
||||
*
|
||||
* @return The scheduled action for the waypoint, as defined by MAV_CMD enum
|
||||
* @return The scheduled action for the waypoint.
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_mission_item_get_command(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -444,7 +444,7 @@ static inline uint8_t mavlink_msg_mission_item_get_current(const mavlink_message
|
||||
/**
|
||||
* @brief Get field autocontinue from mission_item message
|
||||
*
|
||||
* @return autocontinue to next wp
|
||||
* @return Autocontinue to next waypoint
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_mission_item_get_autocontinue(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -494,7 +494,7 @@ static inline float mavlink_msg_mission_item_get_param4(const mavlink_message_t*
|
||||
/**
|
||||
* @brief Get field x from mission_item message
|
||||
*
|
||||
* @return PARAM5 / local: x position, global: latitude
|
||||
* @return PARAM5 / local: X coordinate, global: latitude
|
||||
*/
|
||||
static inline float mavlink_msg_mission_item_get_x(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -504,7 +504,7 @@ static inline float mavlink_msg_mission_item_get_x(const mavlink_message_t* msg)
|
||||
/**
|
||||
* @brief Get field y from mission_item message
|
||||
*
|
||||
* @return PARAM6 / y position: global: longitude
|
||||
* @return PARAM6 / local: Y coordinate, global: longitude
|
||||
*/
|
||||
static inline float mavlink_msg_mission_item_get_y(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -514,7 +514,7 @@ static inline float mavlink_msg_mission_item_get_y(const mavlink_message_t* msg)
|
||||
/**
|
||||
* @brief Get field z from mission_item message
|
||||
*
|
||||
* @return PARAM7 / z position: global: altitude (relative or absolute, depending on frame.
|
||||
* @return PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame).
|
||||
*/
|
||||
static inline float mavlink_msg_mission_item_get_z(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -524,7 +524,7 @@ static inline float mavlink_msg_mission_item_get_z(const mavlink_message_t* msg)
|
||||
/**
|
||||
* @brief Get field mission_type from mission_item message
|
||||
*
|
||||
* @return Mission type, see MAV_MISSION_TYPE
|
||||
* @return Mission type.
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_mission_item_get_mission_type(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user