#include <test_common.h>
Public Member Functions | |
DiffDriveControllerTest () | |
nav_msgs::Odometry | getLastOdom () |
bool | isControllerAlive () |
void | publish (geometry_msgs::Twist cmd_vel) |
void | start () |
void | stop () |
~DiffDriveControllerTest () | |
Private Member Functions | |
void | odomCallback (const nav_msgs::Odometry &odom) |
Private Attributes | |
ros::Publisher | cmd_pub |
nav_msgs::Odometry | last_odom |
ros::NodeHandle | nh |
ros::Subscriber | odom_sub |
ros::ServiceClient | start_srv |
ros::ServiceClient | stop_srv |
Definition at line 50 of file test_common.h.
DiffDriveControllerTest::DiffDriveControllerTest | ( | ) | [inline] |
Definition at line 54 of file test_common.h.
DiffDriveControllerTest::~DiffDriveControllerTest | ( | ) | [inline] |
Definition at line 62 of file test_common.h.
nav_msgs::Odometry DiffDriveControllerTest::getLastOdom | ( | ) | [inline] |
Definition at line 67 of file test_common.h.
bool DiffDriveControllerTest::isControllerAlive | ( | ) | [inline] |
Definition at line 69 of file test_common.h.
void DiffDriveControllerTest::odomCallback | ( | const nav_msgs::Odometry & | odom | ) | [inline, private] |
Definition at line 83 of file test_common.h.
void DiffDriveControllerTest::publish | ( | geometry_msgs::Twist | cmd_vel | ) | [inline] |
Definition at line 68 of file test_common.h.
void DiffDriveControllerTest::start | ( | ) | [inline] |
Definition at line 71 of file test_common.h.
void DiffDriveControllerTest::stop | ( | ) | [inline] |
Definition at line 72 of file test_common.h.
Definition at line 76 of file test_common.h.
nav_msgs::Odometry DiffDriveControllerTest::last_odom [private] |
Definition at line 78 of file test_common.h.
ros::NodeHandle DiffDriveControllerTest::nh [private] |
Definition at line 75 of file test_common.h.
Definition at line 77 of file test_common.h.
Definition at line 80 of file test_common.h.
Definition at line 81 of file test_common.h.