#include <diffbot.h>
Public Member Functions | |
Diffbot () | |
ros::Duration | getPeriod () const |
ros::Time | getTime () const |
void | read () |
bool | start_callback (std_srvs::Empty::Request &, std_srvs::Empty::Response &) |
bool | stop_callback (std_srvs::Empty::Request &, std_srvs::Empty::Response &) |
void | write () |
Private Attributes | |
double | cmd_ [NUM_JOINTS] |
double | eff_ [NUM_JOINTS] |
hardware_interface::JointStateInterface | jnt_state_interface_ |
hardware_interface::VelocityJointInterface | jnt_vel_interface_ |
ros::NodeHandle | nh_ |
double | pos_ [NUM_JOINTS] |
bool | running_ |
ros::ServiceServer | start_srv_ |
ros::ServiceServer | stop_srv_ |
double | vel_ [NUM_JOINTS] |
ros::Duration Diffbot< NUM_JOINTS >::getPeriod | ( | ) | const [inline] |
bool Diffbot< NUM_JOINTS >::start_callback | ( | std_srvs::Empty::Request & | , |
std_srvs::Empty::Response & | |||
) | [inline] |
bool Diffbot< NUM_JOINTS >::stop_callback | ( | std_srvs::Empty::Request & | , |
std_srvs::Empty::Response & | |||
) | [inline] |
hardware_interface::JointStateInterface Diffbot< NUM_JOINTS >::jnt_state_interface_ [private] |
hardware_interface::VelocityJointInterface Diffbot< NUM_JOINTS >::jnt_vel_interface_ [private] |
ros::NodeHandle Diffbot< NUM_JOINTS >::nh_ [private] |
ros::ServiceServer Diffbot< NUM_JOINTS >::start_srv_ [private] |
ros::ServiceServer Diffbot< NUM_JOINTS >::stop_srv_ [private] |