Nav2 Navigation Stack - lyrical  lyrical
ROS 2 Navigation Stack
Public Member Functions | List of all members
nav2_system_tests::UnknownErrorPlanner Class Reference
Inheritance diagram for nav2_system_tests::UnknownErrorPlanner:
Inheritance graph
[legend]
Collaboration diagram for nav2_system_tests::UnknownErrorPlanner:
Collaboration graph
[legend]

Public Member Functions

void configure (const nav2::LifecycleNode::WeakPtr &, std::string, nav2::TransformBuffer::SharedPtr, std::shared_ptr< nav2_costmap_2d::Costmap2DROS >) override
 
void cleanup () override
 Method to cleanup resources used on shutdown.
 
void activate () override
 Method to active planner and any threads involved in execution.
 
void deactivate () override
 Method to deactivate planner and any threads involved in execution.
 
nav_msgs::msg::Path createPlan (const geometry_msgs::msg::PoseStamped &, const geometry_msgs::msg::PoseStamped &, const std::vector< geometry_msgs::msg::PoseStamped > &, std::function< bool()>) override
 Method to create the plan from a starting pose, a goal pose, and intermediate viapoints. More...
 
- Public Member Functions inherited from nav2_core::GlobalPlanner
virtual ~GlobalPlanner ()
 Virtual destructor.
 

Additional Inherited Members

- Public Types inherited from nav2_core::GlobalPlanner
using Ptr = std::shared_ptr< GlobalPlanner >
 

Detailed Description

Definition at line 37 of file planner_error_plugin.hpp.

Member Function Documentation

◆ configure()

void nav2_system_tests::UnknownErrorPlanner::configure ( const nav2::LifecycleNode::WeakPtr &  parent,
std::string  name,
nav2::TransformBuffer::SharedPtr  tf,
std::shared_ptr< nav2_costmap_2d::Costmap2DROS costmap_ros 
)
inlineoverridevirtual
Parameters
parentpointer to user's node
nameThe name of this planner
tfA pointer to a TF buffer
costmap_rosA pointer to the costmap

Implements nav2_core::GlobalPlanner.

Definition at line 43 of file planner_error_plugin.hpp.

◆ createPlan()

nav_msgs::msg::Path nav2_system_tests::UnknownErrorPlanner::createPlan ( const geometry_msgs::msg::PoseStamped &  start,
const geometry_msgs::msg::PoseStamped &  goal,
const std::vector< geometry_msgs::msg::PoseStamped > &  viapoints,
std::function< bool()>  cancel_checker 
)
inlineoverridevirtual

Method to create the plan from a starting pose, a goal pose, and intermediate viapoints.

Parameters
startThe starting pose of the robot
goalThe goal pose of the robot
viapointsThe intermediate viapoints for the robot
cancel_checkerFunction to check if the action has been canceled
Returns
The sequence of poses to get from start to goal, if any

Implements nav2_core::GlobalPlanner.

Definition at line 54 of file planner_error_plugin.hpp.


The documentation for this class was generated from the following file: