Nav2 Navigation Stack - kilted  kilted
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 rclcpp_lifecycle::LifecycleNode::WeakPtr &, std::string, std::shared_ptr< tf2_ros::Buffer >, 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 &, std::function< bool()>) override
 Method create the plan from a starting and ending goal. 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 35 of file planner_error_plugin.hpp.

Member Function Documentation

◆ configure()

void nav2_system_tests::UnknownErrorPlanner::configure ( const rclcpp_lifecycle::LifecycleNode::WeakPtr &  parent,
std::string  name,
std::shared_ptr< tf2_ros::Buffer >  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 41 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,
std::function< bool()>  cancel_checker 
)
inlineoverridevirtual

Method create the plan from a starting and ending goal.

Parameters
startThe starting pose of the robot
goalThe goal pose of 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 52 of file planner_error_plugin.hpp.


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