![]() |
Echoflow
1.0.0
A ROS2 Toolset for tracking marine radar targets
|
Node that builds a 2D grid map from incoming marine radar sector messages. More...
#include <radar_grid_map_node.hpp>
Classes | |
struct | Parameters |
Struct to hold ros2 parameters. More... | |
Public Member Functions | |
RadarGridMapNode () | |
Construct a new RadarGridMapNode object. | |
std::shared_ptr< grid_map::GridMap > | getMapPtr () |
Protected Member Functions | |
void | publishCostmap () |
Publishes the current grid map as an occupancy grid. | |
void | radarSectorCallback (const marine_sensor_msgs::msg::RadarSector::SharedPtr msg) |
Callback when a new radar sector message is received. | |
void | addToQueue (const marine_sensor_msgs::msg::RadarSector::SharedPtr msg) |
Adds a radar sector message to the internal processing queue. | |
void | processQueue () |
Processes all messages in the radar sector queue. | |
void | processMsg (const marine_sensor_msgs::msg::RadarSector::SharedPtr msg) |
Processes a single radar sector message. | |
void | recenterMap (const grid_map::Position &new_center) |
Recenters the grid map around a new position. | |
Protected Attributes | |
Parameters | parameters_ |
Runtime parameters. | |
Node that builds a 2D grid map from incoming marine radar sector messages.
This node subscribes to radar sector messages, applies optional near-field clutter filtering, performs coordinate transformations using TF2, and publishes both a grid map and an occupancy grid.
RadarGridMapNode::RadarGridMapNode | ( | ) |
Construct a new RadarGridMapNode object.
|
protected |
Adds a radar sector message to the internal processing queue.
msg | Shared pointer to the radar sector message. |
|
inline |
|
protected |
Processes a single radar sector message.
msg | Shared pointer to the radar sector message. |
|
protected |
Processes all messages in the radar sector queue.
|
protected |
Publishes the current grid map as an occupancy grid.
|
protected |
Callback when a new radar sector message is received.
msg | Shared pointer to the received radar sector message. |
|
protected |
Recenters the grid map around a new position.
new_center | New center position in map coordinates. |
|
protected |
Runtime parameters.