You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
|
5 months ago
|
# MAVLink message: GIMBAL_DEVICE_SET_ATTITUDE
|
||
|
|
# https://mavlink.io/en/messages/common.html#GIMBAL_DEVICE_SET_ATTITUDE
|
||
|
|
|
||
|
|
uint8 target_system # System ID
|
||
|
|
uint8 target_component # Component ID
|
||
|
|
|
||
|
|
uint16 flags # Low level gimbal flags (bitwise) - See GIMBAL_DEVICE_FLAGS
|
||
|
|
#GIMBAL_DEVICE_FLAGS
|
||
|
|
uint16 FLAGS_RETRACT = 1 # Based on GIMBAL_DEVICE_FLAGS_RETRACT
|
||
|
|
uint16 FLAGS_NEUTRAL = 2 # Based on GIMBAL_DEVICE_FLAGS_NEUTRAL
|
||
|
|
uint16 FLAGS_ROLL_LOCK = 4 # Based on GIMBAL_DEVICE_FLAGS_ROLL_LOCK
|
||
|
|
uint16 FLAGS_PITCH_LOCK = 8 # Based on GIMBAL_DEVICE_FLAGS_PITCH_LOCK
|
||
|
|
uint16 FLAGS_YAW_LOCK = 16 # Based on GIMBAL_DEVICE_FLAGS_YAW_LOCK
|
||
|
|
|
||
|
|
geometry_msgs/Quaternion q # Quaternion, x, y, z, w (0 0 0 1 is the null-rotation, the frame is depends on whether the flag GIMBAL_DEVICE_FLAGS_YAW_LOCK is set)
|
||
|
|
float32 angular_velocity_x # X component of angular velocity, positive is rolling to the right, NaN to be ignored.
|
||
|
|
float32 angular_velocity_y # Y component of angular velocity, positive is pitching up, NaN to be ignored.
|
||
|
|
float32 angular_velocity_z # Z component of angular velocity, positive is yawing to the right, NaN to be ignored.
|