Public Member Functions | |
void | Main () |
int | Setup (ros::NodeHandle node) |
int | Shutdown () |
Throttle () | |
~Throttle () | |
Private Member Functions | |
void | GetCmd (const art_msgs::ThrottleCommand::ConstPtr &cmd) |
void | PollDevice (void) |
Private Attributes | |
devthrottle * | dev_ |
bool | diagnostic_ |
std::string | port_ |
ros::Subscriber | throttle_cmd_ |
ros::Publisher | throttle_state_ |
bool | training_ |
Definition at line 64 of file throttle.cc.
Throttle::Throttle | ( | ) |
Definition at line 94 of file throttle.cc.
Throttle::~Throttle | ( | ) | [inline] |
Definition at line 69 of file throttle.cc.
void Throttle::GetCmd | ( | const art_msgs::ThrottleCommand::ConstPtr & | cmd | ) | [private] |
Definition at line 154 of file throttle.cc.
void Throttle::Main | ( | ) |
Definition at line 201 of file throttle.cc.
void Throttle::PollDevice | ( | void | ) | [private] |
Definition at line 179 of file throttle.cc.
int Throttle::Setup | ( | ros::NodeHandle | node | ) |
Definition at line 118 of file throttle.cc.
int Throttle::Shutdown | ( | ) |
Definition at line 146 of file throttle.cc.
devthrottle* Throttle::dev_ [private] |
Definition at line 90 of file throttle.cc.
bool Throttle::diagnostic_ [private] |
Definition at line 85 of file throttle.cc.
std::string Throttle::port_ [private] |
Definition at line 83 of file throttle.cc.
ros::Subscriber Throttle::throttle_cmd_ [private] |
Definition at line 87 of file throttle.cc.
ros::Publisher Throttle::throttle_state_ [private] |
Definition at line 88 of file throttle.cc.
bool Throttle::training_ [private] |
Definition at line 84 of file throttle.cc.