class InputRC RC input class using manual_control_setpoint topic
More...
#include <input_rc.h>
|
| InputRC (bool do_stabilization, int aux_channel_roll, int aux_channel_pitch, int aux_channel_yaw) |
|
virtual void | print_status () |
| report status to stdout
|
|
virtual int | update (unsigned int timeout_ms, ControlData **control_data, bool already_active) |
| Wait for an input update, with a timeout. More...
|
|
|
virtual int | update_impl (unsigned int timeout_ms, ControlData **control_data, bool already_active) |
|
virtual int | initialize () |
|
virtual bool | _read_control_data_from_subscription (ControlData &control_data, bool already_active) |
|
int | _get_subscription_fd () const |
|
float | _get_aux_value (const manual_control_setpoint_s &manual_control_setpoint, int channel_idx) |
|
void | control_data_set_lon_lat (double lon, double lat, float altitude, float roll_angle=0.f, float pitch_fixed_angle=-10.f) |
|
class InputRC RC input class using manual_control_setpoint topic
§ InputRC()
vmount::InputRC::InputRC |
( |
bool |
do_stabilization, |
|
|
int |
aux_channel_roll, |
|
|
int |
aux_channel_pitch, |
|
|
int |
aux_channel_yaw |
|
) |
| |
- Parameters
-
do_stabilization | |
aux_channel_roll | which aux channel to use for roll (set to 0 to use a fixed angle of 0) |
aux_channel_pitch | |
aux_channel_yaw | |
§ _read_control_data_from_subscription()
bool vmount::InputRC::_read_control_data_from_subscription |
( |
ControlData & |
control_data, |
|
|
bool |
already_active |
|
) |
| |
|
protectedvirtual |
- Returns
- true if there was a change in control data
The documentation for this class was generated from the following files: