Public Member Functions | Protected Member Functions | Protected Attributes
roboteq::Channel Class Reference

#include <channel.h>

List of all members.

Public Member Functions

 Channel (int channel_num, std::string ns, Controller *controller)
void feedbackCallback (std::vector< std::string >)

Protected Member Functions

void cmdCallback (const roboteq_msgs::Command &)
void timerCallback (const ros::TimerEvent &)

Protected Attributes

int channel_num_
boost::shared_ptr< Controllercontroller_
ros::Time last_feedback_time_
float max_rpm_
ros::NodeHandle nh_
ros::Publisher pub_feedback_
ros::Subscriber sub_cmd_
ros::Timer timer_init_

Detailed Description

Definition at line 39 of file channel.h.


Constructor & Destructor Documentation

roboteq::Channel::Channel ( int  channel_num,
std::string  ns,
Controller controller 
)

Definition at line 39 of file channel.cpp.


Member Function Documentation

void roboteq::Channel::cmdCallback ( const roboteq_msgs::Command &  command) [protected]

Definition at line 48 of file channel.cpp.

void roboteq::Channel::feedbackCallback ( std::vector< std::string >  fields)

Definition at line 61 of file channel.cpp.

void roboteq::Channel::timerCallback ( const ros::TimerEvent ) [protected]

Definition at line 82 of file channel.cpp.


Member Data Documentation

Definition at line 50 of file channel.h.

boost::shared_ptr<Controller> roboteq::Channel::controller_ [protected]

Definition at line 49 of file channel.h.

Definition at line 57 of file channel.h.

float roboteq::Channel::max_rpm_ [protected]

Definition at line 51 of file channel.h.

Definition at line 48 of file channel.h.

Definition at line 54 of file channel.h.

Definition at line 53 of file channel.h.

Definition at line 55 of file channel.h.


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


roboteq_driver
Author(s):
autogenerated on Fri Feb 12 2016 00:10:33