Files
PX4-Autopilot/docs/ko/msg_docs/GimbalManagerSetPitchyaw.md
T

5.7 KiB

pageClass
pageClass
is-wide-page

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

명칭 형식 Unit [Frame] Range/Enum 설명
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

명칭 형식 Value 설명
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

Source file (GitHub)

:::details Click here to see original file

# 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

:::