vmount: add param to use RC input for angular rate

Until now RC input was translated to angles only. I added the param
MNT_RC_IN_MODE which allows the RC input to be used for angular rate.
This commit is contained in:
Julian Oes
2021-12-08 01:02:46 -05:00
committed by Daniel Agar
parent 08b0ac9654
commit 9cb2bf389c
4 changed files with 77 additions and 19 deletions
+11
View File
@@ -261,3 +261,14 @@ PARAM_DEFINE_FLOAT(MNT_RATE_PITCH, 30.0f);
* @group Mount
*/
PARAM_DEFINE_FLOAT(MNT_RATE_YAW, 30.0f);
/**
* Input mode for RC gimbal input
*
* @value 0 Angle
* @value 1 Angular rate
* @min 0
* @max 1
* @group Mount
*/
PARAM_DEFINE_INT32(MNT_RC_IN_MODE, 1);