#include <test_common.h>
Public Member Functions | |
DiffDriveControllerTest () | |
geometry_msgs::TwistStamped | getLastCmdVelOut () |
nav_msgs::Odometry | getLastOdom () |
bool | isControllerAlive () |
bool | isPublishingCmdVelOut () |
void | publish (geometry_msgs::Twist cmd_vel) |
void | start () |
void | stop () |
~DiffDriveControllerTest () | |
Private Member Functions | |
void | cmdVelOutCallback (const geometry_msgs::TwistStamped &cmd_vel_out) |
void | odomCallback (const nav_msgs::Odometry &odom) |
Private Attributes | |
ros::Publisher | cmd_pub |
geometry_msgs::TwistStamped | last_cmd_vel_out |
nav_msgs::Odometry | last_odom |
ros::NodeHandle | nh |
ros::Subscriber | odom_sub |
ros::ServiceClient | start_srv |
ros::ServiceClient | stop_srv |
ros::Subscriber | vel_out_sub |
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 63 of file test_common.h.
void DiffDriveControllerTest::cmdVelOutCallback | ( | const geometry_msgs::TwistStamped & | cmd_vel_out | ) | [inline, private] |
Definition at line 97 of file test_common.h.
geometry_msgs::TwistStamped DiffDriveControllerTest::getLastCmdVelOut | ( | ) | [inline] |
Definition at line 69 of file test_common.h.
nav_msgs::Odometry DiffDriveControllerTest::getLastOdom | ( | ) | [inline] |
Definition at line 68 of file test_common.h.
bool DiffDriveControllerTest::isControllerAlive | ( | ) | [inline] |
Definition at line 71 of file test_common.h.
bool DiffDriveControllerTest::isPublishingCmdVelOut | ( | ) | [inline] |
Definition at line 72 of file test_common.h.
void DiffDriveControllerTest::odomCallback | ( | const nav_msgs::Odometry & | odom | ) | [inline, private] |
Definition at line 88 of file test_common.h.
void DiffDriveControllerTest::publish | ( | geometry_msgs::Twist | cmd_vel | ) | [inline] |
Definition at line 70 of file test_common.h.
void DiffDriveControllerTest::start | ( | ) | [inline] |
Definition at line 74 of file test_common.h.
void DiffDriveControllerTest::stop | ( | ) | [inline] |
Definition at line 75 of file test_common.h.
Definition at line 79 of file test_common.h.
geometry_msgs::TwistStamped DiffDriveControllerTest::last_cmd_vel_out [private] |
Definition at line 83 of file test_common.h.
nav_msgs::Odometry DiffDriveControllerTest::last_odom [private] |
Definition at line 82 of file test_common.h.
ros::NodeHandle DiffDriveControllerTest::nh [private] |
Definition at line 78 of file test_common.h.
Definition at line 80 of file test_common.h.
Definition at line 85 of file test_common.h.
Definition at line 86 of file test_common.h.
Definition at line 81 of file test_common.h.