Class CollisionChecker
Defined in File collision_checker.hpp
Class Documentation
Checks for collision based on a RPP control command.
Public Functions
Constructor for nav2_regulated_pure_pursuit_controller::CollisionChecker.
Destrructor for nav2_regulated_pure_pursuit_controller::CollisionChecker.
Whether collision is imminent.
- Parameters:
robot_pose – Pose of robot
carrot_pose – Pose of carrot
linear_vel – linear velocity to forward project
angular_vel – angular velocity to forward project
carrot_dist – Distance to the carrot for PP
- Returns:
Whether collision is imminent
checks for collision at projected pose
- Parameters:
x – Pose of pose x
y – Pose of pose y
theta – orientation of Yaw
- Returns:
Whether in collision
Cost at a point.
- Parameters:
x – Pose of pose x
y – Pose of pose y
- Returns:
Cost of pose in costmap
Protected Attributes