|
Firmware
|
#include <rc_update.h>
Public Member Functions | |
| RCUpdate (const Parameters ¶meters) | |
| int | init () |
| initialize subscriptions etc. More... | |
| void | deinit () |
| deinitialize the object (we cannot use the destructor because it is called on the wrong thread) | |
| void | rc_parameter_map_poll (ParameterHandles ¶meter_handles, bool forced=false) |
| Check for changes in rc_parameter_map. | |
| void | update_rc_functions () |
| update the RC functions. More... | |
| void | rc_poll (const ParameterHandles ¶meter_handles) |
| Gather and publish RC input data. | |
class RCUpdate
Handling of RC updates
| RCUpdate::RCUpdate | ( | const Parameters & | parameters | ) |
| parameters | parameter values. These do not have to be initialized when constructing this object. Only when calling init(), they have to be initialized. |
| int RCUpdate::init | ( | ) |
initialize subscriptions etc.
| void RCUpdate::update_rc_functions | ( | ) |
update the RC functions.
Call this when the parameters change.
1.8.12