RC param map: Move to generated uORB topics

This commit is contained in:
Lorenz Meier 2015-08-20 10:19:37 +02:00
parent 36a787bd91
commit b530582e59
1 changed files with 11 additions and 0 deletions

11
msg/rc_parameter_map.msg Normal file
View File

@ -0,0 +1,11 @@
uint8 RC_PARAM_MAP_NCHAN = 3 # This limit is also hardcoded in the enum RC_CHANNELS_FUNCTION in rc_channels.h
uint8 PARAM_ID_LEN = 16 # corresponds to MAVLINK_MSG_PARAM_VALUE_FIELD_PARAM_ID_LEN
uint64 timestamp # time at which the map was updated
bool[3] valid #true for RC-Param channels which are mapped to a param
int32[3] param_index # corresponding param index, this field is ignored if set to -1, in this case param_id will be used
char[51] param_id # MAP_NCHAN * (ID_LEN + 1) chars, corresponding param id, null terminated
float32[3] scale # scale to map the RC input [-1, 1] to a parameter value
float32[3] value0 # inital value around which the parameter value is changed
float32[3] value_min # minimal parameter value
float32[3] value_max # minimal parameter value