Class Spin
Defined in File spin.hpp
Inheritance Relationships
Base Type
public nav2_behaviors::TimedBehavior< SpinAction >
(Template Class TimedBehavior)
Class Documentation
An action server behavior for spinning in.
Public Types
Public Functions
A constructor for nav2_behaviors::Spin.
Initialization to run behavior.
- Parameters:
command – Goal to execute
- Returns:
Status of behavior
Configuration of behavior action.
Loop function to run behavior.
- Returns:
Status of behavior
Method to determine the required costmap info.
- Returns:
costmap resources needed
Protected Functions
Check if pose is collision free.
- Parameters:
distance – Distance to check forward
cmd_vel – current commanded velocity
pose2d – Current pose
- Returns:
is collision free or not
Protected Attributes