15 #ifndef ERROR_CODES__CONTROLLER__CONTROLLER_ERROR_PLUGINS_HPP_
16 #define ERROR_CODES__CONTROLLER__CONTROLLER_ERROR_PLUGINS_HPP_
21 #include "nav2_core/controller.hpp"
22 #include "nav2_core/controller_exceptions.hpp"
23 #include "nav2_ros_common/tf2_factories.hpp"
25 namespace nav2_system_tests
35 const nav2::LifecycleNode::WeakPtr &,
36 std::string, nav2::TransformBuffer::SharedPtr,
37 std::shared_ptr<nav2_costmap_2d::Costmap2DROS>)
override {}
48 const geometry_msgs::msg::PoseStamped &,
49 const geometry_msgs::msg::Twist &,
51 const nav_msgs::msg::Path &,
52 const geometry_msgs::msg::PoseStamped &)
62 virtual geometry_msgs::msg::TwistStamped computeVelocityCommands(
63 const geometry_msgs::msg::PoseStamped &,
64 const geometry_msgs::msg::Twist &,
66 const nav_msgs::msg::Path &,
67 const geometry_msgs::msg::PoseStamped &)
75 virtual geometry_msgs::msg::TwistStamped computeVelocityCommands(
76 const geometry_msgs::msg::PoseStamped &,
77 const geometry_msgs::msg::Twist &,
79 const nav_msgs::msg::Path &,
80 const geometry_msgs::msg::PoseStamped &)
88 virtual geometry_msgs::msg::TwistStamped computeVelocityCommands(
89 const geometry_msgs::msg::PoseStamped &,
90 const geometry_msgs::msg::Twist &,
92 const nav_msgs::msg::Path &,
93 const geometry_msgs::msg::PoseStamped &)
101 virtual geometry_msgs::msg::TwistStamped computeVelocityCommands(
102 const geometry_msgs::msg::PoseStamped &,
103 const geometry_msgs::msg::Twist &,
105 const nav_msgs::msg::Path &,
106 const geometry_msgs::msg::PoseStamped &)
114 virtual geometry_msgs::msg::TwistStamped computeVelocityCommands(
115 const geometry_msgs::msg::PoseStamped &,
116 const geometry_msgs::msg::Twist &,
118 const nav_msgs::msg::Path &,
119 const geometry_msgs::msg::PoseStamped &)
controller interface that acts as a virtual base class for all controller plugins
Function-object for checking whether a goal has been reached.
void deactivate()
Method to deactivate planner and any threads involved in execution.
void newPathReceived(const nav_msgs::msg::Path &)
local setPlan - Notifies the Controller that a new plan is received from the Planner Server
void setSpeedLimit(const double &, const bool &)
Limits the maximum linear speed of the robot.
virtual geometry_msgs::msg::TwistStamped computeVelocityCommands(const geometry_msgs::msg::PoseStamped &, const geometry_msgs::msg::Twist &, nav2_core::GoalChecker *, const nav_msgs::msg::Path &, const geometry_msgs::msg::PoseStamped &)
Controller computeVelocityCommands - calculates the best command given the current pose and velocity.
void activate()
Method to active planner and any threads involved in execution.
void configure(const nav2::LifecycleNode::WeakPtr &, std::string, nav2::TransformBuffer::SharedPtr, std::shared_ptr< nav2_costmap_2d::Costmap2DROS >) override
void cleanup()
Method to cleanup resources.