GimbalManagerSetPitchyaw (UORB message)
Gimbal manager pitch/yaw setpoint.
This is sent by PX4 (acting as a gimbal manager client) to an external gimbal manager). Streamed out as GIMBAL_MANAGER_SET_PITCHYAW.
TOPICS: gimbal_manager_set_pitchyaw
Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
|---|---|---|---|---|
| timestamp | uint64 | us | Time since system start | |
| target_system | uint8 | System id of the external gimbal manager | ||
| target_component | uint8 | Component id of the external gimbal manager | ||
| gimbal_device_id | uint8 | Gimbal device to address (0 for all) | ||
| flags | uint32 | GIMBAL_MANAGER_FLAGS | GIMBAL_MANAGER_FLAGS bitmask | |
| pitch | float32 | rad | pitch angle (Invalid: NaN to ignore) | |
| yaw | float32 | rad | yaw angle (Invalid: NaN to ignore) | |
| pitch_rate | float32 | rad/s | Pitch angular rate (Invalid: NaN to ignore) | |
| yaw_rate | float32 | rad/s | Yaw angular rate (Invalid: NaN to ignore) |
Enums
GIMBAL_MANAGER_FLAGS
Used in field(s): flags
| Name | Type | Value | Description |
|---|---|---|---|
| GIMBAL_MANAGER_FLAGS_PITCH_LOCK | uint32 | 8 | |
| GIMBAL_MANAGER_FLAGS_YAW_LOCK | uint32 | 16 | |
| GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME | uint32 | 64 |
Source Message
Click here to see original file
c
# Gimbal manager pitch/yaw setpoint
#
# This is sent by PX4 (acting as a gimbal manager client) to an
# external gimbal manager). Streamed out as GIMBAL_MANAGER_SET_PITCHYAW.
uint64 timestamp # [us] Time since system start
uint8 target_system # [-] System id of the external gimbal manager
uint8 target_component # [-] Component id of the external gimbal manager
uint8 gimbal_device_id # [-] Gimbal device to address (0 for all)
uint32 flags # [@enum GIMBAL_MANAGER_FLAGS] GIMBAL_MANAGER_FLAGS bitmask
uint32 GIMBAL_MANAGER_FLAGS_PITCH_LOCK = 8
uint32 GIMBAL_MANAGER_FLAGS_YAW_LOCK = 16
uint32 GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME = 64
float32 pitch # [rad] [@invalid NaN to ignore] pitch angle
float32 yaw # [rad] [@invalid NaN to ignore] yaw angle
float32 pitch_rate # [rad/s] [@invalid NaN to ignore] Pitch angular rate
float32 yaw_rate # [rad/s] [@invalid NaN to ignore] Yaw angular rate