25#include <nav2_core/global_planner.hpp>
26#include <nav_msgs/msg/path.hpp>
27#include <rclcpp/rclcpp.hpp>
31namespace forward_global_planner
36 using Ptr = std::shared_ptr<ForwardGlobalPlanner>;
52 const rclcpp_lifecycle::LifecycleNode::WeakPtr & parent, std::string name,
53 const std::shared_ptr<tf2_ros::Buffer> tf,
54 const std::shared_ptr<nav2_costmap_2d::Costmap2DROS> costmap_ros)
override;
78 const geometry_msgs::msg::PoseStamped & start,
const geometry_msgs::msg::PoseStamped & goal);
82 rclcpp_lifecycle::LifecycleNode::SharedPtr
nh_;
84 std::shared_ptr<rclcpp_lifecycle::LifecyclePublisher<nav_msgs::msg::Path>>
planPub_;
97 std::shared_ptr<tf2_ros::Buffer>
tf_;
std::shared_ptr< ForwardGlobalPlanner > Ptr
double puresSpinningRadStep_
virtual void deactivate()
Method to deactivate planner and any threads involved in execution.
void configure(const rclcpp_lifecycle::LifecycleNode::WeakPtr &parent, std::string name, const std::shared_ptr< tf2_ros::Buffer > tf, const std::shared_ptr< nav2_costmap_2d::Costmap2DROS > costmap_ros) override
std::shared_ptr< rclcpp_lifecycle::LifecyclePublisher< nav_msgs::msg::Path > > planPub_
virtual void cleanup()
Method to cleanup resources used on shutdown.
virtual ~ForwardGlobalPlanner()
Virtual destructor.
virtual nav_msgs::msg::Path createPlan(const geometry_msgs::msg::PoseStamped &start, const geometry_msgs::msg::PoseStamped &goal)
Method create the plan from a starting and ending goal.
rclcpp_lifecycle::LifecycleNode::SharedPtr nh_
double transform_tolerance_
std::shared_ptr< nav2_costmap_2d::Costmap2DROS > costmap_ros_
stored but almost not used
virtual void activate()
Method to active planner and any threads involved in execution.
double skip_straight_motion_distance_
std::shared_ptr< tf2_ros::Buffer > tf_