Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SafetyLimiterTest Class Reference

#include <test_safety_limiter_base.h>

Inheritance diagram for SafetyLimiterTest:
Inheritance graph
[legend]

Public Member Functions

void broadcastTF (const std::string parent_frame_id, const std::string child_frame_id, const float lin, const float ang)
 
bool hasDiag () const
 
bool hasStatus () const
 
void publishEmptyPointPointcloud2 (const std::string frame_id, const ros::Time stamp)
 
void publishSinglePointPointcloud2 (const float x, const float y, const float z, const std::string frame_id, const ros::Time stamp)
 
void publishTwist (const float lin, const float ang)
 
void publishWatchdogReset ()
 
 SafetyLimiterTest ()
 

Public Attributes

geometry_msgs::Twist::ConstPtr cmd_vel_
 
diagnostic_msgs::DiagnosticArray::ConstPtr diag_
 
safety_limiter_msgs::SafetyLimiterStatus::ConstPtr status_
 

Protected Member Functions

void cbCmdVel (const geometry_msgs::Twist::ConstPtr &msg)
 
void cbDiag (const diagnostic_msgs::DiagnosticArray::ConstPtr &msg)
 
void cbStatus (const safety_limiter_msgs::SafetyLimiterStatus::ConstPtr &msg)
 

Protected Attributes

ros::NodeHandle nh_
 
ros::Publisher pub_cloud_
 
ros::Publisher pub_cmd_vel_
 
ros::Publisher pub_watchdog_
 
ros::Subscriber sub_cmd_vel_
 
ros::Subscriber sub_diag_
 
ros::Subscriber sub_status_
 
tf2_ros::TransformBroadcaster tfb_
 

Detailed Description

Definition at line 81 of file test_safety_limiter_base.h.

Constructor & Destructor Documentation

SafetyLimiterTest::SafetyLimiterTest ( )
inline

Definition at line 114 of file test_safety_limiter_base.h.

Member Function Documentation

void SafetyLimiterTest::broadcastTF ( const std::string  parent_frame_id,
const std::string  child_frame_id,
const float  lin,
const float  ang 
)
inline

Definition at line 176 of file test_safety_limiter_base.h.

void SafetyLimiterTest::cbCmdVel ( const geometry_msgs::Twist::ConstPtr &  msg)
inlineprotected

Definition at line 104 of file test_safety_limiter_base.h.

void SafetyLimiterTest::cbDiag ( const diagnostic_msgs::DiagnosticArray::ConstPtr &  msg)
inlineprotected

Definition at line 94 of file test_safety_limiter_base.h.

void SafetyLimiterTest::cbStatus ( const safety_limiter_msgs::SafetyLimiterStatus::ConstPtr &  msg)
inlineprotected

Definition at line 99 of file test_safety_limiter_base.h.

bool SafetyLimiterTest::hasDiag ( ) const
inline

Definition at line 190 of file test_safety_limiter_base.h.

bool SafetyLimiterTest::hasStatus ( ) const
inline

Definition at line 198 of file test_safety_limiter_base.h.

void SafetyLimiterTest::publishEmptyPointPointcloud2 ( const std::string  frame_id,
const ros::Time  stamp 
)
inline

Definition at line 144 of file test_safety_limiter_base.h.

void SafetyLimiterTest::publishSinglePointPointcloud2 ( const float  x,
const float  y,
const float  z,
const std::string  frame_id,
const ros::Time  stamp 
)
inline

Definition at line 154 of file test_safety_limiter_base.h.

void SafetyLimiterTest::publishTwist ( const float  lin,
const float  ang 
)
inline

Definition at line 167 of file test_safety_limiter_base.h.

void SafetyLimiterTest::publishWatchdogReset ( )
inline

Definition at line 139 of file test_safety_limiter_base.h.

Member Data Documentation

geometry_msgs::Twist::ConstPtr SafetyLimiterTest::cmd_vel_

Definition at line 112 of file test_safety_limiter_base.h.

diagnostic_msgs::DiagnosticArray::ConstPtr SafetyLimiterTest::diag_

Definition at line 110 of file test_safety_limiter_base.h.

ros::NodeHandle SafetyLimiterTest::nh_
protected

Definition at line 84 of file test_safety_limiter_base.h.

ros::Publisher SafetyLimiterTest::pub_cloud_
protected

Definition at line 86 of file test_safety_limiter_base.h.

ros::Publisher SafetyLimiterTest::pub_cmd_vel_
protected

Definition at line 85 of file test_safety_limiter_base.h.

ros::Publisher SafetyLimiterTest::pub_watchdog_
protected

Definition at line 87 of file test_safety_limiter_base.h.

safety_limiter_msgs::SafetyLimiterStatus::ConstPtr SafetyLimiterTest::status_

Definition at line 111 of file test_safety_limiter_base.h.

ros::Subscriber SafetyLimiterTest::sub_cmd_vel_
protected

Definition at line 90 of file test_safety_limiter_base.h.

ros::Subscriber SafetyLimiterTest::sub_diag_
protected

Definition at line 88 of file test_safety_limiter_base.h.

ros::Subscriber SafetyLimiterTest::sub_status_
protected

Definition at line 89 of file test_safety_limiter_base.h.

tf2_ros::TransformBroadcaster SafetyLimiterTest::tfb_
protected

Definition at line 92 of file test_safety_limiter_base.h.


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


safety_limiter
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:20:36