NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
__mavlink_param_map_rc_t Struct Reference

#include <mavlink_msg_param_map_rc.h>

Data Fields

float param_value0
 Initial parameter value. More...
 
float scale
 Scale, maps the RC range [-1, 1] to a parameter value. More...
 
float param_value_min
 Minimum param value. The protocol does not define if this overwrites an onboard minimum value. (Depends on implementation) More...
 
float param_value_max
 Maximum param value. The protocol does not define if this overwrites an onboard maximum value. (Depends on implementation) More...
 
int16_t param_index
 Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored), send -2 to disable any existing map for this rc_channel_index. More...
 
uint8_t target_system
 System ID. More...
 
uint8_t target_component
 Component ID. More...
 
char param_id [16]
 Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string. More...
 
uint8_t parameter_rc_channel_index
 Index of parameter RC channel. Not equal to the RC channel id. Typically correpsonds to a potentiometer-knob on the RC. More...
 

Field Documentation

char __mavlink_param_map_rc_t::param_id[16]

Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string.

int16_t __mavlink_param_map_rc_t::param_index

Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored), send -2 to disable any existing map for this rc_channel_index.

float __mavlink_param_map_rc_t::param_value0

Initial parameter value.

float __mavlink_param_map_rc_t::param_value_max

Maximum param value. The protocol does not define if this overwrites an onboard maximum value. (Depends on implementation)

float __mavlink_param_map_rc_t::param_value_min

Minimum param value. The protocol does not define if this overwrites an onboard minimum value. (Depends on implementation)

uint8_t __mavlink_param_map_rc_t::parameter_rc_channel_index

Index of parameter RC channel. Not equal to the RC channel id. Typically correpsonds to a potentiometer-knob on the RC.

float __mavlink_param_map_rc_t::scale

Scale, maps the RC range [-1, 1] to a parameter value.

uint8_t __mavlink_param_map_rc_t::target_component

Component ID.

uint8_t __mavlink_param_map_rc_t::target_system

System ID.


The documentation for this struct was generated from the following file: