Template Class DriveOnHeading
Defined in File drive_on_heading.hpp
Inheritance Relationships
Base Type
public nav2_behaviors::TimedBehavior< nav2_msgs::action::DriveOnHeading >
(Template Class TimedBehavior)
Class Documentation
An action server Behavior for spinning in.
Public Functions
A constructor for nav2_behaviors::DriveOnHeading.
Initialization to run behavior.
- Parameters:
command – Goal to execute
- Returns:
Status of behavior
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
Configuration of behavior action.
Protected Attributes