Classes | Namespaces | Defines
rc_io.cpp File Reference

RC IO plugin. More...

#include <mavros/mavros_plugin.h>
#include <pluginlib/class_list_macros.h>
#include <mavros_msgs/RCIn.h>
#include <mavros_msgs/RCOut.h>
#include <mavros_msgs/OverrideRCIn.h>
Include dependency graph for rc_io.cpp:

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

Detailed Description

RC IO plugin.

Author:
Vladimir Ermakov <vooon341@gmail.com>

Definition in file rc_io.cpp.


Define Documentation

#define IFSET_RC_IN (   mavidx)
Value:
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


mavros
Author(s): Vladimir Ermakov
autogenerated on Sat Jun 8 2019 19:55:20