SMACC2
|
#include <cp_lidar_data.hpp>
Public Member Functions | |
void | onInitialize () override |
void | MessageCallbackStoreDistanceToWall (const sensor_msgs::msg::LaserScan &scanmsg) |
Public Member Functions inherited from smacc2::ISmaccComponent | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Public Attributes | |
sensor_msgs::msg::LaserScan | lastMessage_ |
float | forwardObstacleDistance |
const float | SECURITY_DISTANCE = 1 |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccComponent | |
virtual void | onInitialize () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename TComponent > | |
void | requiresComponent (TComponent *&requiredComponentStorage) |
template<typename TClient > | |
void | requiresClient (TClient *&requiredClientStorage) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createSiblingComponent (TArgs... targs) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createSiblingNamedComponent (std::string name, TArgs... targs) |
rclcpp::Node::SharedPtr | getNode () |
rclcpp::Logger | getLogger () |
ISmaccStateMachine * | getStateMachine () |
Protected Attributes inherited from smacc2::ISmaccComponent | |
ISmaccStateMachine * | stateMachine_ |
ISmaccClient * | owner_ |
Definition at line 29 of file cp_lidar_data.hpp.
|
inline |
Definition at line 45 of file cp_lidar_data.hpp.
References smacc2::ISmaccComponent::getLogger(), smacc2::ISmaccComponent::getNode(), and SECURITY_DISTANCE.
Referenced by onInitialize().
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccComponent.
Definition at line 37 of file cp_lidar_data.hpp.
References MessageCallbackStoreDistanceToWall(), smacc2::client_bases::SmaccSubscriberClient< MessageType >::onMessageReceived(), and smacc2::ISmaccComponent::owner_.
float sm_dance_bot_strikes_back::cl_lidar::CpLidarSensorData::forwardObstacleDistance |
Definition at line 33 of file cp_lidar_data.hpp.
sensor_msgs::msg::LaserScan sm_dance_bot_strikes_back::cl_lidar::CpLidarSensorData::lastMessage_ |
Definition at line 32 of file cp_lidar_data.hpp.
const float sm_dance_bot_strikes_back::cl_lidar::CpLidarSensorData::SECURITY_DISTANCE = 1 |
Definition at line 35 of file cp_lidar_data.hpp.
Referenced by MessageCallbackStoreDistanceToWall().