Got rid of a bunch of magic numbers, manual controls can now be set up fine-grained

This commit is contained in:
Lorenz Meier
2012-09-11 23:54:26 +02:00
parent a74a455ab5
commit b573804456
4 changed files with 43 additions and 13 deletions
+5
View File
@@ -126,3 +126,8 @@ PARAM_DEFINE_INT32(RC_MAP_PITCH, 2);
PARAM_DEFINE_INT32(RC_MAP_THROTTLE, 3);
PARAM_DEFINE_INT32(RC_MAP_YAW, 4);
PARAM_DEFINE_INT32(RC_MAP_MODE_SW, 5);
PARAM_DEFINE_FLOAT(RC_SCALE_ROLL, 0.4f);
PARAM_DEFINE_FLOAT(RC_SCALE_PITCH, 0.4f);
PARAM_DEFINE_FLOAT(RC_SCALE_YAW, 3.0f);