Easy Navigation
|
PerceptionHandler implementation for sensors producing point-based data. More...
#include <PointPerception.hpp>
Public Member Functions | |
std::shared_ptr< PerceptionBase > | create (const std::string &) override |
Creates a new PointPerception instance. | |
rclcpp::SubscriptionBase::SharedPtr | create_subscription (rclcpp_lifecycle::LifecycleNode &node, const std::string &topic, const std::string &type, std::shared_ptr< PerceptionBase > target, rclcpp::CallbackGroup::SharedPtr cb_group) override |
Creates a subscription to LaserScan or PointCloud2 messages and updates the perception. | |
std::string | group () const override |
Returns the sensor group handled by this handler: "points". | |
![]() | |
virtual | ~PerceptionHandler ()=default |
PerceptionHandler implementation for sensors producing point-based data.
This handler supports both sensor_msgs::msg::LaserScan
and sensor_msgs::msg::PointCloud2
. It converts incoming messages into PointPerception
instances and stores them.
|
overridevirtual |
Creates a new PointPerception
instance.
sensor_id | Identifier of the sensor (unused in this handler). |
Implements PerceptionHandler.
|
overridevirtual |
Creates a subscription to LaserScan or PointCloud2 messages and updates the perception.
Implements PerceptionHandler.
|
overridevirtual |
Returns the sensor group handled by this handler: "points".
Implements PerceptionHandler.