Public Member Functions | Private Member Functions | Private Attributes
DiffDriveControllerTest Class Reference

#include <test_common.h>

List of all members.

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

Detailed Description

Definition at line 50 of file test_common.h.


Constructor & Destructor Documentation

Definition at line 54 of file test_common.h.

Definition at line 63 of file test_common.h.


Member Function Documentation

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.

Definition at line 71 of file test_common.h.

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.


Member Data Documentation

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.

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.


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


diff_drive_controller
Author(s): Bence Magyar
autogenerated on Thu Jun 6 2019 18:58:48