aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-28 21:57:30 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-28 22:55:04 +0100
commitef8abfbf148ac6fd7a405acdd4ee8eeb156867b6 (patch)
tree75455befdabb36c3269f9281f78a6cfe04ae8e11 /src/modules/uORB
parente9b41528dc39ac8a8c565a4c16fc5aa512e37b1a (diff)
downloadpx4-firmware-ef8abfbf148ac6fd7a405acdd4ee8eeb156867b6.tar.gz
px4-firmware-ef8abfbf148ac6fd7a405acdd4ee8eeb156867b6.tar.bz2
px4-firmware-ef8abfbf148ac6fd7a405acdd4ee8eeb156867b6.zip
rc2param: min and max values
Diffstat (limited to 'src/modules/uORB')
-rw-r--r--src/modules/uORB/topics/rc_parameter_map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/rc_parameter_map.h b/src/modules/uORB/topics/rc_parameter_map.h
index 47672c5d5..6e68dc4b6 100644
--- a/src/modules/uORB/topics/rc_parameter_map.h
+++ b/src/modules/uORB/topics/rc_parameter_map.h
@@ -63,6 +63,8 @@ struct rc_parameter_map_s {
char param_id[RC_PARAM_MAP_NCHAN][PARAM_ID_LEN + 1]; /**< corresponding param id, null terminated */
float scale[RC_PARAM_MAP_NCHAN]; /** scale to map the RC input [-1, 1] to a parameter value */
float value0[RC_PARAM_MAP_NCHAN]; /** inital value around which the parameter value is changed */
+ float value_min[RC_PARAM_MAP_NCHAN]; /** minimal parameter value */
+ float value_max[RC_PARAM_MAP_NCHAN]; /** minimal parameter value */
};
/**