Public Member Functions | Private Member Functions | Private Attributes | List of all members
RC Class Reference

Public Member Functions

 RC ()
 

Private Member Functions

int createSocket (int port)
 
void fakeGCSThread ()
 
void handleState (const mavros_msgs::StateConstPtr &state)
 
void initLatchedState ()
 
void socketThread ()
 
void stateTimedOut (const ros::TimerEvent &)
 

Private Attributes

ros::Time last_manual_control {0}
 
ros::NodeHandle nh
 
ros::NodeHandle nh_priv
 
mavros_msgs::StateConstPtr state_msg
 
ros::Publisher state_pub
 
ros::Subscriber state_sub
 
ros::Timer state_timeout_timer
 

Detailed Description

Definition at line 30 of file rc.cpp.

Constructor & Destructor Documentation

◆ RC()

RC::RC ( )
inline

Definition at line 33 of file rc.cpp.

Member Function Documentation

◆ createSocket()

int RC::createSocket ( int  port)
inlineprivate

Definition at line 122 of file rc.cpp.

◆ fakeGCSThread()

void RC::fakeGCSThread ( )
inlineprivate

Definition at line 91 of file rc.cpp.

◆ handleState()

void RC::handleState ( const mavros_msgs::StateConstPtr &  state)
inlineprivate

Definition at line 58 of file rc.cpp.

◆ initLatchedState()

void RC::initLatchedState ( )
inlineprivate

Definition at line 80 of file rc.cpp.

◆ socketThread()

void RC::socketThread ( )
inlineprivate

Definition at line 140 of file rc.cpp.

◆ stateTimedOut()

void RC::stateTimedOut ( const ros::TimerEvent )
inlineprivate

Definition at line 72 of file rc.cpp.

Member Data Documentation

◆ last_manual_control

ros::Time RC::last_manual_control {0}
private

Definition at line 55 of file rc.cpp.

◆ nh

ros::NodeHandle RC::nh
private

Definition at line 51 of file rc.cpp.

◆ nh_priv

ros::NodeHandle RC::nh_priv
private

Definition at line 51 of file rc.cpp.

◆ state_msg

mavros_msgs::StateConstPtr RC::state_msg
private

Definition at line 56 of file rc.cpp.

◆ state_pub

ros::Publisher RC::state_pub
private

Definition at line 53 of file rc.cpp.

◆ state_sub

ros::Subscriber RC::state_sub
private

Definition at line 52 of file rc.cpp.

◆ state_timeout_timer

ros::Timer RC::state_timeout_timer
private

Definition at line 54 of file rc.cpp.


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


clover
Author(s): Oleg Kalachev , Artem Smirnov
autogenerated on Mon Feb 28 2022 22:08:29