You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mavros_msgs/msg/GimbalDeviceAttitudeStatus.msg
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@ uint8 target_component # Component ID
8
8
9
9
uint16flags# Current gimbal flags set (bitwise) - See GIMBAL_DEVICE_FLAGS
10
10
#GIMBAL_DEVICE_FLAGS
11
-
uint16GIMBAL_DEVICE_FLAGS_RETRACT = 1# Set to retracted safe position (no stabilization), takes presedence over all other flags.
12
-
uint16GIMBAL_DEVICE_FLAGS_NEUTRAL = 2# Set to neutral/default position, taking precedence over all other flags except RETRACT. Neutral is commonly forward-facing and horizontal (pitch=yaw=0) but may be any orientation.
13
-
uint16GIMBAL_DEVICE_FLAGS_ROLL_LOCK = 4# Lock roll angle to absolute angle relative to horizon (not relative to drone). This is generally the default with a stabilizing gimbal.
14
-
uint16GIMBAL_DEVICE_FLAGS_PITCH_LOCK = 8# Lock pitch angle to absolute angle relative to horizon (not relative to drone). This is generally the default.
15
-
uint16GIMBAL_DEVICE_FLAGS_YAW_LOCK = 16# Lock yaw angle to absolute angle relative to North (not relative to drone). If this flag is set, the quaternion is in the Earth frame with the x-axis pointing North (yaw absolute). If this flag is not set, the quaternion frame is in the Earth frame rotated so that the x-axis is pointing forward (yaw relative to vehicle).
11
+
uint16FLAGS_RETRACT = 1# Set to retracted safe position (no stabilization), takes presedence over all other flags.
12
+
uint16FLAGS_NEUTRAL = 2# Set to neutral/default position, taking precedence over all other flags except RETRACT. Neutral is commonly forward-facing and horizontal (pitch=yaw=0) but may be any orientation.
13
+
uint16FLAGS_ROLL_LOCK = 4# Lock roll angle to absolute angle relative to horizon (not relative to drone). This is generally the default with a stabilizing gimbal.
14
+
uint16FLAGS_PITCH_LOCK = 8# Lock pitch angle to absolute angle relative to horizon (not relative to drone). This is generally the default.
15
+
uint16FLAGS_YAW_LOCK = 16# Lock yaw angle to absolute angle relative to North (not relative to drone). If this flag is set, the quaternion is in the Earth frame with the x-axis pointing North (yaw absolute). If this flag is not set, the quaternion frame is in the Earth frame rotated so that the x-axis is pointing forward (yaw relative to vehicle).
16
16
17
17
geometry_msgs/Quaternionq# 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)
18
18
float32angular_velocity_x# X component of angular velocity (NaN if unknown)
@@ -21,12 +21,12 @@ float32 angular_velocity_z # Z component of angular velocity (NaN if unknow
21
21
22
22
uint32failure_flags# Failure flags (0 for no failure) (bitwise) - See GIMBAL_DEVICE_ERROR_FLAGS
23
23
#GIMBAL_DEVICE_ERROR_FLAGS
24
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT = 1# Gimbal device is limited by hardware roll limit.
25
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT = 2# Gimbal device is limited by hardware pitch limit.
26
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT = 4# Gimbal device is limited by hardware yaw limit.
27
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR = 8# There is an error with the gimbal encoders.
28
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR = 16# There is an error with the gimbal power source.
29
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR = 32# There is an error with the gimbal motor's.
30
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR = 64# There is an error with the gimbal's software.
31
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR = 128# There is an error with the gimbal's communication.
32
-
uint32GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING = 256# Gimbal is currently calibrating.
24
+
uint32ERROR_FLAGS_AT_ROLL_LIMIT = 1# Gimbal device is limited by hardware roll limit.
25
+
uint32ERROR_FLAGS_AT_PITCH_LIMIT = 2# Gimbal device is limited by hardware pitch limit.
26
+
uint32ERROR_FLAGS_AT_YAW_LIMIT = 4# Gimbal device is limited by hardware yaw limit.
27
+
uint32ERROR_FLAGS_ENCODER_ERROR = 8# There is an error with the gimbal encoders.
28
+
uint32ERROR_FLAGS_POWER_ERROR = 16# There is an error with the gimbal power source.
29
+
uint32ERROR_FLAGS_MOTOR_ERROR = 32# There is an error with the gimbal motor's.
30
+
uint32ERROR_FLAGS_SOFTWARE_ERROR = 64# There is an error with the gimbal's software.
31
+
uint32ERROR_FLAGS_COMMS_ERROR = 128# There is an error with the gimbal's communication.
32
+
uint32ERROR_FLAGS_CALIBRATION_RUNNING = 256# Gimbal is currently calibrating.
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS = 4# Gimbal device supports rotating around roll axis.
18
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW = 8# Gimbal device supports to follow a roll angle relative to the vehicle
19
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK = 16# Gimbal device supports locking to an roll angle (generally that's the default with roll stabilized)
20
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS = 32# Gimbal device supports rotating around pitch axis.
21
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW = 64# Gimbal device supports to follow a pitch angle relative to the vehicle
22
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK = 128# Gimbal device supports locking to an pitch angle (generally that's the default with pitch stabilized)
23
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS = 256# Gimbal device supports rotating around yaw axis.
24
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW = 512# Gimbal device supports to follow a yaw angle relative to the vehicle (generally that's the default)
25
-
uint32GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK = 1024# Gimbal device supports locking to an absolute heading (often this is an option available)
Copy file name to clipboardExpand all lines: mavros_msgs/msg/GimbalDeviceSetAttitude.msg
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,11 @@ uint8 target_component # Component ID
6
6
7
7
uint16flags# Low level gimbal flags (bitwise) - See GIMBAL_DEVICE_FLAGS
8
8
#GIMBAL_DEVICE_FLAGS
9
-
uint16GIMBAL_DEVICE_FLAGS_RETRACT = 1# Based on GIMBAL_DEVICE_FLAGS_RETRACT
10
-
uint16GIMBAL_DEVICE_FLAGS_NEUTRAL = 2# Based on GIMBAL_DEVICE_FLAGS_NEUTRAL
11
-
uint16GIMBAL_DEVICE_FLAGS_ROLL_LOCK = 4# Based on GIMBAL_DEVICE_FLAGS_ROLL_LOCK
12
-
uint16GIMBAL_DEVICE_FLAGS_PITCH_LOCK = 8# Based on GIMBAL_DEVICE_FLAGS_PITCH_LOCK
13
-
uint16GIMBAL_DEVICE_FLAGS_YAW_LOCK = 16# Based on GIMBAL_DEVICE_FLAGS_YAW_LOCK
9
+
uint16FLAGS_RETRACT = 1# Based on GIMBAL_DEVICE_FLAGS_RETRACT
10
+
uint16FLAGS_NEUTRAL = 2# Based on GIMBAL_DEVICE_FLAGS_NEUTRAL
11
+
uint16FLAGS_ROLL_LOCK = 4# Based on GIMBAL_DEVICE_FLAGS_ROLL_LOCK
12
+
uint16FLAGS_PITCH_LOCK = 8# Based on GIMBAL_DEVICE_FLAGS_PITCH_LOCK
13
+
uint16FLAGS_YAW_LOCK = 16# Based on GIMBAL_DEVICE_FLAGS_YAW_LOCK
14
14
15
15
geometry_msgs/Quaternionq# 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)
16
16
float32angular_velocity_x# X component of angular velocity, positive is rolling to the right, NaN to be ignored.
Copy file name to clipboardExpand all lines: mavros_msgs/msg/GimbalManagerInformation.msg
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,20 @@ std_msgs/Header header
5
5
6
6
uint32cap_flags# Bitmap of gimbal capability flags - see GIMBAL_MANAGER_CAP_FLAGS
7
7
#GIMBAL_MANAGER_CAP_FLAGS
8
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT = 1# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT.
9
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL = 2# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL.
10
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS = 4# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS.
11
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW = 8# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW.
12
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK = 16# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK.
13
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS = 32# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS.
14
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW = 64# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW.
15
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK = 128# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK.
16
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS = 256# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS.
17
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW = 512# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW.
18
-
uint32GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK = 1024# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK.
19
-
uint32GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048# Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW.
20
-
uint32GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL = 65536# Gimbal manager supports to point to a local position.
21
-
uint32GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL = 131072# Gimbal manager supports to point to a global latitude, longitude, altitude position.
8
+
uint32CAP_FLAGS_HAS_RETRACT = 1# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT.
9
+
uint32CAP_FLAGS_HAS_NEUTRAL = 2# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL.
10
+
uint32CAP_FLAGS_HAS_ROLL_AXIS = 4# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS.
11
+
uint32CAP_FLAGS_HAS_ROLL_FOLLOW = 8# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW.
12
+
uint32CAP_FLAGS_HAS_ROLL_LOCK = 16# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK.
13
+
uint32CAP_FLAGS_HAS_PITCH_AXIS = 32# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS.
14
+
uint32CAP_FLAGS_HAS_PITCH_FOLLOW = 64# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW.
15
+
uint32CAP_FLAGS_HAS_PITCH_LOCK = 128# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK.
16
+
uint32CAP_FLAGS_HAS_YAW_AXIS = 256# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS.
17
+
uint32CAP_FLAGS_HAS_YAW_FOLLOW = 512# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW.
18
+
uint32CAP_FLAGS_HAS_YAW_LOCK = 1024# Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK.
19
+
uint32CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048# Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW.
20
+
uint32CAP_FLAGS_CAN_POINT_LOCATION_LOCAL = 65536# Gimbal manager supports to point to a local position.
21
+
uint32CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL = 131072# Gimbal manager supports to point to a global latitude, longitude, altitude position.
22
22
23
23
uint8gimbal_device_id# Gimbal device ID that this gimbal manager is responsible for.
24
24
float32roll_min# Minimum hardware roll angle (positive: rolling to the right, negative: rolling to the left)
0 commit comments