Skip to content

Commit f872c97

Browse files
committed
gimbal: update descriptions
1 parent 1657745 commit f872c97

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

msg/GimbalControls.msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ uint8 INDEX_PITCH = 1
44
uint8 INDEX_YAW = 2
55

66
uint64 timestamp_sample # the timestamp the data this control response is based on was sampled
7-
float32[3] control # Control input in [-1, 1] maps to min/max deflection.
7+
float32[3] control # Normalized output. 1 means maximum positive position. -1 maximum negative position. 0 means no deflection. NaN maps to disarmed.

src/modules/gimbal/gimbal_params.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ PARAM_DEFINE_INT32(MNT_MAN_YAW, 0);
152152
PARAM_DEFINE_INT32(MNT_DO_STAB, 0);
153153

154154
/**
155-
* Max angle of pitch channel output in degrees (only in AUX output mode). Use PWM_CENT for zero-deflection and PWM_MAX for limits.
155+
* Max positive angle of pitch setpoint (only in MNT_MODE_OUT=AUX). Use output driver settings to calibrate (e.g. PWM_CENT/_MIN/_MAX).
156156
*
157157
* @unit deg
158158
* @decimal 1
@@ -161,7 +161,7 @@ PARAM_DEFINE_INT32(MNT_DO_STAB, 0);
161161
PARAM_DEFINE_FLOAT(MNT_MAX_PITCH, 45.0f);
162162

163163
/**
164-
* Min angle of pitch channel output in degrees (only in AUX output mode). Use PWM_CENT for zero-deflection and PWM_MIN for limits.
164+
* Min negative angle of pitch setpoint (only in MNT_MODE_OUT=AUX). Use output driver settings to calibrate (e.g. PWM_CENT/_MIN/_MAX).
165165
*
166166
* @unit deg
167167
* @decimal 1
@@ -170,7 +170,7 @@ PARAM_DEFINE_FLOAT(MNT_MAX_PITCH, 45.0f);
170170
PARAM_DEFINE_FLOAT(MNT_MIN_PITCH, -45.0f);
171171

172172
/**
173-
* Range of roll channel output in degrees (only in AUX output mode). Use PWM_CENT for zero-deflection and PWM_MIN / PWM_MAX for limits.
173+
* Range of roll channel output (only in MNT_MODE_OUT=AUX). Use output driver settings to calibrate (e.g. PWM_CENT/_MIN/_MAX). Note that only symmetric angular ranges are supported.
174174
*
175175
* @min 1.0
176176
* @max 720.0
@@ -181,7 +181,7 @@ PARAM_DEFINE_FLOAT(MNT_MIN_PITCH, -45.0f);
181181
PARAM_DEFINE_FLOAT(MNT_RANGE_ROLL, 90.0f);
182182

183183
/**
184-
* Range of yaw channel output in degrees (only in AUX output mode). Use PWM_CENT for zero-deflection and PWM_MIN / PWM_MAX for limits.
184+
* Range of yaw channel output (only in MNT_MODE_OUT=AUX). Use output driver settings to calibrate (e.g. PWM_CENT/_MIN/_MAX). Note that only symmetric angular ranges are supported.
185185
*
186186
* @min 1.0
187187
* @max 720.0

0 commit comments

Comments
 (0)