|
Easy Navigation
|
Handles the creation and updating of GNSSPerception instances from sensor_msgs::msg::NavSatFix messages. More...
#include <GNSSPerception.hpp>


Public Member Functions | |
| std::shared_ptr< PerceptionBase > | create (const std::string &) override |
| Creates a new empty GNSSPerception 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 an GNSS topic that updates a target GNSSPerception. | |
| std::string | group () const override |
| Returns the group managed by this handler. | |
Public Member Functions inherited from PerceptionHandler | |
| virtual | ~PerceptionHandler ()=default |
Handles the creation and updating of GNSSPerception instances from sensor_msgs::msg::NavSatFix messages.
This class provides methods to register subscriptions to GNSS topics and update GNSSPerception objects.
|
overridevirtual |
Creates a new empty GNSSPerception instance.
| sensor_id | Name or identifier of the sensor. Currently unused, reserved for future extensions. |
Implements PerceptionHandler.
|
overridevirtual |
Creates a subscription to an GNSS topic that updates a target GNSSPerception.
The subscription receives sensor_msgs::msg::NavSatFix messages on topic and writes the content into GNSSPerception::data, updating inherited metadata (stamp, frame_id).
| node | Lifecycle node used to create the subscription. |
| topic | Topic name to subscribe to. |
| type | ROS message type name. It must be "sensor_msgs/msg/NavSatFix". |
| target | Shared pointer to the GNSSPerception to be updated. |
| cb_group | Callback group for executor-level concurrency control. |
Implements PerceptionHandler.
|
overridevirtual |
Returns the group managed by this handler.
Implements PerceptionHandler.