|
Nav2 Navigation Stack - jazzy
jazzy
ROS 2 Navigation Stack
|


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 () |
| Method to cleanup resources. | |
| void | activate () |
| Method to active planner and any threads involved in execution. | |
| void | deactivate () |
| Method to deactive planner and any threads involved in execution. | |
| void | setPlan (const nav_msgs::msg::Path &) |
| local setPlan - Sets the global plan More... | |
| virtual geometry_msgs::msg::TwistStamped | computeVelocityCommands (const geometry_msgs::msg::PoseStamped &, const geometry_msgs::msg::Twist &, nav2_core::GoalChecker *) |
| Controller computeVelocityCommands - calculates the best command given the current pose and velocity. More... | |
| void | setSpeedLimit (const double &, const bool &) |
| Limits the maximum linear speed of the robot. More... | |
Public Member Functions inherited from nav2_core::Controller | |
| virtual | ~Controller () |
| Virtual destructor. | |
| virtual bool | cancel () |
| Cancel the current control action. More... | |
| virtual void | reset () |
| Reset the state of the controller if necessary after task is exited. | |
Additional Inherited Members | |
Public Types inherited from nav2_core::Controller | |
| using | Ptr = std::shared_ptr< nav2_core::Controller > |
Definition at line 27 of file controller_error_plugins.hpp.
|
inlinevirtual |
Controller computeVelocityCommands - calculates the best command given the current pose and velocity.
It is presumed that the global plan is already set.
This is mostly a wrapper for the protected computeVelocityCommands function which has additional debugging info.
| pose | Current robot pose |
| velocity | Current robot velocity |
| goal_checker | Pointer to the current goal checker the task is utilizing |
Implements nav2_core::Controller.
Definition at line 46 of file controller_error_plugins.hpp.
|
inlineoverridevirtual |
| parent | pointer to user's node |
| costmap_ros | A pointer to the costmap |
Implements nav2_core::Controller.
Definition at line 33 of file controller_error_plugins.hpp.
|
inlinevirtual |
local setPlan - Sets the global plan
| path | The global plan |
Implements nav2_core::Controller.
Definition at line 44 of file controller_error_plugins.hpp.
|
inlinevirtual |
Limits the maximum linear speed of the robot.
| speed_limit | expressed in absolute value (in m/s) or in percentage from maximum robot speed. |
| percentage | Setting speed limit in percentage if true or in absolute values in false case. |
Implements nav2_core::Controller.
Definition at line 54 of file controller_error_plugins.hpp.