Nav2 Navigation Stack - rolling
main
ROS 2 Navigation Stack
|
Consolidation of all the publishing logic for the DWB Local Planner. More...
#include <nav2_dwb_controller/dwb_core/include/dwb_core/publisher.hpp>
Public Member Functions | |
DWBPublisher (const nav2::LifecycleNode::WeakPtr &parent, const std::string &plugin_name) | |
nav2::CallbackReturn | on_configure () |
nav2::CallbackReturn | on_activate () |
nav2::CallbackReturn | on_deactivate () |
nav2::CallbackReturn | on_cleanup () |
bool | shouldRecordEvaluation () |
Does the publisher require that the LocalPlanEvaluation be saved. More... | |
void | publishEvaluation (std::shared_ptr< dwb_msgs::msg::LocalPlanEvaluation > results) |
If the pointer is not null, publish the evaluation and trajectories as needed. | |
void | publishLocalPlan (const std_msgs::msg::Header &header, const dwb_msgs::msg::Trajectory2D &traj) |
void | publishCostGrid (const std::shared_ptr< nav2_costmap_2d::Costmap2DROS > costmap_ros, const std::vector< TrajectoryCritic::Ptr > critics) |
void | publishGlobalPlan (const nav_msgs::msg::Path plan) |
void | publishTransformedPlan (const nav_msgs::msg::Path plan) |
void | publishLocalPlan (const nav_msgs::msg::Path plan) |
Consolidation of all the publishing logic for the DWB Local Planner.
Right now, it can publish 1) The Global Plan (as passed in using setPath) 2) The Local Plan (after it is calculated) 3) The Transformed Global Plan (since it may be different than the global) 4) The Full LocalPlanEvaluation 5) Markers representing the different trajectories evaluated 6) The CostGrid (in the form of a complex PointCloud2)
Definition at line 69 of file publisher.hpp.
|
inline |
Does the publisher require that the LocalPlanEvaluation be saved.
Definition at line 85 of file publisher.hpp.