Public Member Functions | Private Member Functions | Private Attributes | List of all members
AckermannSteeringControllerTest Class Reference

#include <test_common.h>

Inheritance diagram for AckermannSteeringControllerTest:
Inheritance graph
[legend]

Public Member Functions

 AckermannSteeringControllerTest ()
 
nav_msgs::Odometry getLastOdom ()
 
bool isControllerAlive ()
 
bool isLastOdomValid ()
 
void publish (geometry_msgs::Twist cmd_vel)
 
void start ()
 
void stop ()
 
 ~AckermannSteeringControllerTest ()
 

Private Member Functions

void odomCallback (const nav_msgs::Odometry &odom)
 

Private Attributes

ros::Publisher cmd_pub
 
std::string ctrl_name
 
nav_msgs::Odometry last_odom
 
ros::ServiceClient list_ctrls_srv
 
ros::NodeHandle nh
 
std::mutex odom_mutex
 
ros::Subscriber odom_sub
 
ros::ServiceClient start_srv
 
ros::ServiceClient stop_srv
 

Detailed Description

Definition at line 59 of file test_common.h.

Constructor & Destructor Documentation

◆ AckermannSteeringControllerTest()

AckermannSteeringControllerTest::AckermannSteeringControllerTest ( )
inline

Definition at line 63 of file test_common.h.

◆ ~AckermannSteeringControllerTest()

AckermannSteeringControllerTest::~AckermannSteeringControllerTest ( )
inline

Definition at line 73 of file test_common.h.

Member Function Documentation

◆ getLastOdom()

nav_msgs::Odometry AckermannSteeringControllerTest::getLastOdom ( )
inline

Definition at line 78 of file test_common.h.

◆ isControllerAlive()

bool AckermannSteeringControllerTest::isControllerAlive ( )
inline

Definition at line 100 of file test_common.h.

◆ isLastOdomValid()

bool AckermannSteeringControllerTest::isLastOdomValid ( )
inline

Definition at line 84 of file test_common.h.

◆ odomCallback()

void AckermannSteeringControllerTest::odomCallback ( const nav_msgs::Odometry &  odom)
inlineprivate

Definition at line 132 of file test_common.h.

◆ publish()

void AckermannSteeringControllerTest::publish ( geometry_msgs::Twist  cmd_vel)
inline

Definition at line 98 of file test_common.h.

◆ start()

void AckermannSteeringControllerTest::start ( )
inline

Definition at line 115 of file test_common.h.

◆ stop()

void AckermannSteeringControllerTest::stop ( )
inline

Definition at line 116 of file test_common.h.

Member Data Documentation

◆ cmd_pub

ros::Publisher AckermannSteeringControllerTest::cmd_pub
private

Definition at line 120 of file test_common.h.

◆ ctrl_name

std::string AckermannSteeringControllerTest::ctrl_name
private

Definition at line 128 of file test_common.h.

◆ last_odom

nav_msgs::Odometry AckermannSteeringControllerTest::last_odom
private

Definition at line 122 of file test_common.h.

◆ list_ctrls_srv

ros::ServiceClient AckermannSteeringControllerTest::list_ctrls_srv
private

Definition at line 127 of file test_common.h.

◆ nh

ros::NodeHandle AckermannSteeringControllerTest::nh
private

Definition at line 119 of file test_common.h.

◆ odom_mutex

std::mutex AckermannSteeringControllerTest::odom_mutex
private

Definition at line 130 of file test_common.h.

◆ odom_sub

ros::Subscriber AckermannSteeringControllerTest::odom_sub
private

Definition at line 121 of file test_common.h.

◆ start_srv

ros::ServiceClient AckermannSteeringControllerTest::start_srv
private

Definition at line 124 of file test_common.h.

◆ stop_srv

ros::ServiceClient AckermannSteeringControllerTest::stop_srv
private

Definition at line 125 of file test_common.h.


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


ackermann_steering_controller
Author(s): Masaru Morita
autogenerated on Fri Feb 3 2023 03:19:04