Commit c5b465f5 authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/bae3015ecc05299968362a4623d506ea2840ec86
parent e5f6257d
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -1249,6 +1249,27 @@ typedef enum RC_TYPE ...@@ -1249,6 +1249,27 @@ typedef enum RC_TYPE
} RC_TYPE; } RC_TYPE;
#endif #endif
/** @brief Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. */
#ifndef HAVE_ENUM_POSITION_TARGET_TYPEMASK
#define HAVE_ENUM_POSITION_TARGET_TYPEMASK
typedef enum POSITION_TARGET_TYPEMASK
{
POSITION_TARGET_TYPEMASK_X_IGNORE=1, /* 0b0000000000000001 Ignore position x | */
POSITION_TARGET_TYPEMASK_Y_IGNORE=2, /* 0b0000000000000010 Ignore position y | */
POSITION_TARGET_TYPEMASK_Z_IGNORE=4, /* 0b0000000000000100 Ignore position z | */
POSITION_TARGET_TYPEMASK_VX_IGNORE=8, /* 0b0000000000001000 Ignore velocity x | */
POSITION_TARGET_TYPEMASK_VY_IGNORE=16, /* 0b0000000000010000 Ignore velocity y | */
POSITION_TARGET_TYPEMASK_VZ_IGNORE=32, /* 0b0000000000100000 Ignore velocity z | */
POSITION_TARGET_TYPEMASK_AX_IGNORE=64, /* 0b0000000001000000 Ignore acceleration x | */
POSITION_TARGET_TYPEMASK_AY_IGNORE=128, /* 0b0000000010000000 Ignore acceleration y | */
POSITION_TARGET_TYPEMASK_AZ_IGNORE=256, /* 0b0000000100000000 Ignore acceleration z | */
POSITION_TARGET_TYPEMASK_FORCE_SET=512, /* 0b0000001000000000 Use force instead of acceleration | */
POSITION_TARGET_TYPEMASK_YAW_IGNORE=1024, /* 0b0000010000000000 Ignore yaw | */
POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE=2048, /* 0b0000100000000000 Ignore yaw rate | */
POSITION_TARGET_TYPEMASK_ENUM_END=2049, /* | */
} POSITION_TARGET_TYPEMASK;
#endif
// MAVLINK VERSION // MAVLINK VERSION
#ifndef MAVLINK_VERSION #ifndef MAVLINK_VERSION
......
...@@ -17,7 +17,7 @@ typedef struct __mavlink_position_target_global_int_t { ...@@ -17,7 +17,7 @@ typedef struct __mavlink_position_target_global_int_t {
float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/ float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/
float yaw; /*< [rad] yaw setpoint*/ float yaw; /*< [rad] yaw setpoint*/
float yaw_rate; /*< [rad/s] yaw rate setpoint*/ float yaw_rate; /*< [rad/s] yaw rate setpoint*/
uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate*/ uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle.*/
uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11*/ uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11*/
}) mavlink_position_target_global_int_t; }) mavlink_position_target_global_int_t;
...@@ -82,7 +82,7 @@ typedef struct __mavlink_position_target_global_int_t { ...@@ -82,7 +82,7 @@ typedef struct __mavlink_position_target_global_int_t {
* *
* @param time_boot_ms [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. * @param time_boot_ms [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.
* @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 * @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT
...@@ -149,7 +149,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_pack(uint8_t syste ...@@ -149,7 +149,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_pack(uint8_t syste
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param time_boot_ms [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. * @param time_boot_ms [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.
* @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 * @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT
...@@ -242,7 +242,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_encode_chan(uint8_ ...@@ -242,7 +242,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_encode_chan(uint8_
* *
* @param time_boot_ms [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. * @param time_boot_ms [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.
* @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 * @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT
...@@ -390,7 +390,7 @@ static inline uint8_t mavlink_msg_position_target_global_int_get_coordinate_fram ...@@ -390,7 +390,7 @@ static inline uint8_t mavlink_msg_position_target_global_int_get_coordinate_fram
/** /**
* @brief Get field type_mask from position_target_global_int message * @brief Get field type_mask from position_target_global_int message
* *
* @return Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @return Bitmap to indicate which dimensions should be ignored by the vehicle.
*/ */
static inline uint16_t mavlink_msg_position_target_global_int_get_type_mask(const mavlink_message_t* msg) static inline uint16_t mavlink_msg_position_target_global_int_get_type_mask(const mavlink_message_t* msg)
{ {
......
...@@ -17,7 +17,7 @@ typedef struct __mavlink_position_target_local_ned_t { ...@@ -17,7 +17,7 @@ typedef struct __mavlink_position_target_local_ned_t {
float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/ float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/
float yaw; /*< [rad] yaw setpoint*/ float yaw; /*< [rad] yaw setpoint*/
float yaw_rate; /*< [rad/s] yaw rate setpoint*/ float yaw_rate; /*< [rad/s] yaw rate setpoint*/
uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate*/ uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle.*/
uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9*/ uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9*/
}) mavlink_position_target_local_ned_t; }) mavlink_position_target_local_ned_t;
...@@ -82,7 +82,7 @@ typedef struct __mavlink_position_target_local_ned_t { ...@@ -82,7 +82,7 @@ typedef struct __mavlink_position_target_local_ned_t {
* *
* @param time_boot_ms [ms] Timestamp (time since system boot). * @param time_boot_ms [ms] Timestamp (time since system boot).
* @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 * @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param x [m] X Position in NED frame * @param x [m] X Position in NED frame
* @param y [m] Y Position in NED frame * @param y [m] Y Position in NED frame
* @param z [m] Z Position in NED frame (note, altitude is negative in NED) * @param z [m] Z Position in NED frame (note, altitude is negative in NED)
...@@ -149,7 +149,7 @@ static inline uint16_t mavlink_msg_position_target_local_ned_pack(uint8_t system ...@@ -149,7 +149,7 @@ static inline uint16_t mavlink_msg_position_target_local_ned_pack(uint8_t system
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param time_boot_ms [ms] Timestamp (time since system boot). * @param time_boot_ms [ms] Timestamp (time since system boot).
* @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 * @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param x [m] X Position in NED frame * @param x [m] X Position in NED frame
* @param y [m] Y Position in NED frame * @param y [m] Y Position in NED frame
* @param z [m] Z Position in NED frame (note, altitude is negative in NED) * @param z [m] Z Position in NED frame (note, altitude is negative in NED)
...@@ -242,7 +242,7 @@ static inline uint16_t mavlink_msg_position_target_local_ned_encode_chan(uint8_t ...@@ -242,7 +242,7 @@ static inline uint16_t mavlink_msg_position_target_local_ned_encode_chan(uint8_t
* *
* @param time_boot_ms [ms] Timestamp (time since system boot). * @param time_boot_ms [ms] Timestamp (time since system boot).
* @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 * @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param x [m] X Position in NED frame * @param x [m] X Position in NED frame
* @param y [m] Y Position in NED frame * @param y [m] Y Position in NED frame
* @param z [m] Z Position in NED frame (note, altitude is negative in NED) * @param z [m] Z Position in NED frame (note, altitude is negative in NED)
...@@ -390,7 +390,7 @@ static inline uint8_t mavlink_msg_position_target_local_ned_get_coordinate_frame ...@@ -390,7 +390,7 @@ static inline uint8_t mavlink_msg_position_target_local_ned_get_coordinate_frame
/** /**
* @brief Get field type_mask from position_target_local_ned message * @brief Get field type_mask from position_target_local_ned message
* *
* @return Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @return Bitmap to indicate which dimensions should be ignored by the vehicle.
*/ */
static inline uint16_t mavlink_msg_position_target_local_ned_get_type_mask(const mavlink_message_t* msg) static inline uint16_t mavlink_msg_position_target_local_ned_get_type_mask(const mavlink_message_t* msg)
{ {
......
...@@ -17,7 +17,7 @@ typedef struct __mavlink_set_position_target_global_int_t { ...@@ -17,7 +17,7 @@ typedef struct __mavlink_set_position_target_global_int_t {
float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/ float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/
float yaw; /*< [rad] yaw setpoint*/ float yaw; /*< [rad] yaw setpoint*/
float yaw_rate; /*< [rad/s] yaw rate setpoint*/ float yaw_rate; /*< [rad/s] yaw rate setpoint*/
uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate*/ uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle.*/
uint8_t target_system; /*< System ID*/ uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/ uint8_t target_component; /*< Component ID*/
uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11*/ uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11*/
...@@ -90,7 +90,7 @@ typedef struct __mavlink_set_position_target_global_int_t { ...@@ -90,7 +90,7 @@ typedef struct __mavlink_set_position_target_global_int_t {
* @param target_system System ID * @param target_system System ID
* @param target_component Component ID * @param target_component Component ID
* @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 * @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT
...@@ -163,7 +163,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_pack(uint8_t s ...@@ -163,7 +163,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_pack(uint8_t s
* @param target_system System ID * @param target_system System ID
* @param target_component Component ID * @param target_component Component ID
* @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 * @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT
...@@ -262,7 +262,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_encode_chan(ui ...@@ -262,7 +262,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_encode_chan(ui
* @param target_system System ID * @param target_system System ID
* @param target_component Component ID * @param target_component Component ID
* @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 * @param coordinate_frame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT
...@@ -438,7 +438,7 @@ static inline uint8_t mavlink_msg_set_position_target_global_int_get_coordinate_ ...@@ -438,7 +438,7 @@ static inline uint8_t mavlink_msg_set_position_target_global_int_get_coordinate_
/** /**
* @brief Get field type_mask from set_position_target_global_int message * @brief Get field type_mask from set_position_target_global_int message
* *
* @return Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @return Bitmap to indicate which dimensions should be ignored by the vehicle.
*/ */
static inline uint16_t mavlink_msg_set_position_target_global_int_get_type_mask(const mavlink_message_t* msg) static inline uint16_t mavlink_msg_set_position_target_global_int_get_type_mask(const mavlink_message_t* msg)
{ {
......
...@@ -17,7 +17,7 @@ typedef struct __mavlink_set_position_target_local_ned_t { ...@@ -17,7 +17,7 @@ typedef struct __mavlink_set_position_target_local_ned_t {
float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/ float afz; /*< [m/s/s] Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N*/
float yaw; /*< [rad] yaw setpoint*/ float yaw; /*< [rad] yaw setpoint*/
float yaw_rate; /*< [rad/s] yaw rate setpoint*/ float yaw_rate; /*< [rad/s] yaw rate setpoint*/
uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate*/ uint16_t type_mask; /*< Bitmap to indicate which dimensions should be ignored by the vehicle.*/
uint8_t target_system; /*< System ID*/ uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/ uint8_t target_component; /*< Component ID*/
uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9*/ uint8_t coordinate_frame; /*< Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9*/
...@@ -90,7 +90,7 @@ typedef struct __mavlink_set_position_target_local_ned_t { ...@@ -90,7 +90,7 @@ typedef struct __mavlink_set_position_target_local_ned_t {
* @param target_system System ID * @param target_system System ID
* @param target_component Component ID * @param target_component Component ID
* @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 * @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param x [m] X Position in NED frame * @param x [m] X Position in NED frame
* @param y [m] Y Position in NED frame * @param y [m] Y Position in NED frame
* @param z [m] Z Position in NED frame (note, altitude is negative in NED) * @param z [m] Z Position in NED frame (note, altitude is negative in NED)
...@@ -163,7 +163,7 @@ static inline uint16_t mavlink_msg_set_position_target_local_ned_pack(uint8_t sy ...@@ -163,7 +163,7 @@ static inline uint16_t mavlink_msg_set_position_target_local_ned_pack(uint8_t sy
* @param target_system System ID * @param target_system System ID
* @param target_component Component ID * @param target_component Component ID
* @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 * @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param x [m] X Position in NED frame * @param x [m] X Position in NED frame
* @param y [m] Y Position in NED frame * @param y [m] Y Position in NED frame
* @param z [m] Z Position in NED frame (note, altitude is negative in NED) * @param z [m] Z Position in NED frame (note, altitude is negative in NED)
...@@ -262,7 +262,7 @@ static inline uint16_t mavlink_msg_set_position_target_local_ned_encode_chan(uin ...@@ -262,7 +262,7 @@ static inline uint16_t mavlink_msg_set_position_target_local_ned_encode_chan(uin
* @param target_system System ID * @param target_system System ID
* @param target_component Component ID * @param target_component Component ID
* @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 * @param coordinate_frame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param x [m] X Position in NED frame * @param x [m] X Position in NED frame
* @param y [m] Y Position in NED frame * @param y [m] Y Position in NED frame
* @param z [m] Z Position in NED frame (note, altitude is negative in NED) * @param z [m] Z Position in NED frame (note, altitude is negative in NED)
...@@ -438,7 +438,7 @@ static inline uint8_t mavlink_msg_set_position_target_local_ned_get_coordinate_f ...@@ -438,7 +438,7 @@ static inline uint8_t mavlink_msg_set_position_target_local_ned_get_coordinate_f
/** /**
* @brief Get field type_mask from set_position_target_local_ned message * @brief Get field type_mask from set_position_target_local_ned message
* *
* @return Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate * @return Bitmap to indicate which dimensions should be ignored by the vehicle.
*/ */
static inline uint16_t mavlink_msg_set_position_target_local_ned_get_type_mask(const mavlink_message_t* msg) static inline uint16_t mavlink_msg_set_position_target_local_ned_get_type_mask(const mavlink_message_t* msg)
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -2959,6 +2959,45 @@ ...@@ -2959,6 +2959,45 @@
<description>Spektrum DSMX</description> <description>Spektrum DSMX</description>
</entry> </entry>
</enum> </enum>
<enum name="POSITION_TARGET_TYPEMASK">
<description>Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration.</description>
<entry value="1" name="POSITION_TARGET_TYPEMASK_X_IGNORE">
<description>0b0000000000000001 Ignore position x</description>
</entry>
<entry value="2" name="POSITION_TARGET_TYPEMASK_Y_IGNORE">
<description>0b0000000000000010 Ignore position y</description>
</entry>
<entry value="4" name="POSITION_TARGET_TYPEMASK_Z_IGNORE">
<description>0b0000000000000100 Ignore position z</description>
</entry>
<entry value="8" name="POSITION_TARGET_TYPEMASK_VX_IGNORE">
<description>0b0000000000001000 Ignore velocity x</description>
</entry>
<entry value="16" name="POSITION_TARGET_TYPEMASK_VY_IGNORE">
<description>0b0000000000010000 Ignore velocity y</description>
</entry>
<entry value="32" name="POSITION_TARGET_TYPEMASK_VZ_IGNORE">
<description>0b0000000000100000 Ignore velocity z</description>
</entry>
<entry value="64" name="POSITION_TARGET_TYPEMASK_AX_IGNORE">
<description>0b0000000001000000 Ignore acceleration x</description>
</entry>
<entry value="128" name="POSITION_TARGET_TYPEMASK_AY_IGNORE">
<description>0b0000000010000000 Ignore acceleration y</description>
</entry>
<entry value="256" name="POSITION_TARGET_TYPEMASK_AZ_IGNORE">
<description>0b0000000100000000 Ignore acceleration z</description>
</entry>
<entry value="512" name="POSITION_TARGET_TYPEMASK_FORCE_SET">
<description>0b0000001000000000 Use force instead of acceleration</description>
</entry>
<entry value="1024" name="POSITION_TARGET_TYPEMASK_YAW_IGNORE">
<description>0b0000010000000000 Ignore yaw</description>
</entry>
<entry value="2048" name="POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE">
<description>0b0000100000000000 Ignore yaw rate</description>
</entry>
</enum>
</enums> </enums>
<messages> <messages>
<message id="0" name="HEARTBEAT"> <message id="0" name="HEARTBEAT">
...@@ -3593,7 +3632,7 @@ ...@@ -3593,7 +3632,7 @@
<field type="uint8_t" name="target_system">System ID</field> <field type="uint8_t" name="target_system">System ID</field>
<field type="uint8_t" name="target_component">Component ID</field> <field type="uint8_t" name="target_component">Component ID</field>
<field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9</field> <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9</field>
<field type="uint16_t" name="type_mask" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate</field> <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
<field type="float" name="x" units="m">X Position in NED frame</field> <field type="float" name="x" units="m">X Position in NED frame</field>
<field type="float" name="y" units="m">Y Position in NED frame</field> <field type="float" name="y" units="m">Y Position in NED frame</field>
<field type="float" name="z" units="m">Z Position in NED frame (note, altitude is negative in NED)</field> <field type="float" name="z" units="m">Z Position in NED frame (note, altitude is negative in NED)</field>
...@@ -3610,7 +3649,7 @@ ...@@ -3610,7 +3649,7 @@
<description>Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_LOCAL_NED if the vehicle is being controlled this way.</description> <description>Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_LOCAL_NED if the vehicle is being controlled this way.</description>
<field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field> <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
<field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9</field> <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9</field>
<field type="uint16_t" name="type_mask" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate</field> <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
<field type="float" name="x" units="m">X Position in NED frame</field> <field type="float" name="x" units="m">X Position in NED frame</field>
<field type="float" name="y" units="m">Y Position in NED frame</field> <field type="float" name="y" units="m">Y Position in NED frame</field>
<field type="float" name="z" units="m">Z Position in NED frame (note, altitude is negative in NED)</field> <field type="float" name="z" units="m">Z Position in NED frame (note, altitude is negative in NED)</field>
...@@ -3629,7 +3668,7 @@ ...@@ -3629,7 +3668,7 @@
<field type="uint8_t" name="target_system">System ID</field> <field type="uint8_t" name="target_system">System ID</field>
<field type="uint8_t" name="target_component">Component ID</field> <field type="uint8_t" name="target_component">Component ID</field>
<field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11</field> <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11</field>
<field type="uint16_t" name="type_mask" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate</field> <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
<field type="int32_t" name="lat_int" units="degE7">X Position in WGS84 frame</field> <field type="int32_t" name="lat_int" units="degE7">X Position in WGS84 frame</field>
<field type="int32_t" name="lon_int" units="degE7">Y Position in WGS84 frame</field> <field type="int32_t" name="lon_int" units="degE7">Y Position in WGS84 frame</field>
<field type="float" name="alt" units="m">Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT</field> <field type="float" name="alt" units="m">Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT</field>
...@@ -3646,7 +3685,7 @@ ...@@ -3646,7 +3685,7 @@
<description>Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_GLOBAL_INT if the vehicle is being controlled this way.</description> <description>Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_GLOBAL_INT if the vehicle is being controlled this way.</description>
<field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.</field> <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.</field>
<field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11</field> <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11</field>
<field type="uint16_t" name="type_mask" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate</field> <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
<field type="int32_t" name="lat_int" units="degE7">X Position in WGS84 frame</field> <field type="int32_t" name="lat_int" units="degE7">X Position in WGS84 frame</field>
<field type="int32_t" name="lon_int" units="degE7">Y Position in WGS84 frame</field> <field type="int32_t" name="lon_int" units="degE7">Y Position in WGS84 frame</field>
<field type="float" name="alt" units="m">Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT</field> <field type="float" name="alt" units="m">Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT</field>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 9 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 9
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 179 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 179
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Sep 27 2018" #define MAVLINK_BUILD_DATE "Mon Oct 01 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment