RC IO plugin. More...
#include <mavros/mavros_plugin.h>
#include <pluginlib/class_list_macros.h>
#include <mavros/RCIn.h>
#include <mavros/RCOut.h>
#include <mavros/OverrideRCIn.h>
Go to the source code of this file.
Classes | |
class | mavplugin::RCIOPlugin |
RC IO plugin. More... | |
Namespaces | |
namespace | mavplugin |
Defines | |
#define | IFSET_RC_IN(mavidx) |
#define | SET_RC_IN(mavidx) raw_rc_in[offset + mavidx - 1] = port.chan ## mavidx ## _raw |
#define | SET_RC_OUT(mavidx) raw_rc_out[offset + mavidx - 1] = port.servo ## mavidx ## _raw |
RC IO plugin.
Definition in file rc_io.cpp.
#define IFSET_RC_IN | ( | mavidx | ) |
if (channels.chancount >= mavidx) \
raw_rc_in[mavidx-1] = channels.chan ## mavidx ## _raw
#define SET_RC_IN | ( | mavidx | ) | raw_rc_in[offset + mavidx - 1] = port.chan ## mavidx ## _raw |
#define SET_RC_OUT | ( | mavidx | ) | raw_rc_out[offset + mavidx - 1] = port.servo ## mavidx ## _raw |