Function-object for checking whether a goal has been reached. More...
|virtual void||initialize (const ros::NodeHandle &nh)=0|
|Initialize any parameters from the NodeHandle. |
|virtual bool||isGoalReached (const geometry_msgs::Pose2D &query_pose, const geometry_msgs::Pose2D &goal_pose, const nav_2d_msgs::Twist2D &velocity)=0|
|Check whether the goal should be considered reached. |
|virtual void||reset ()|
|Reset the state of the goal checker (if any) |
Function-object for checking whether a goal has been reached.
This class defines the plugin interface for determining whether you have reached the goal state. This primarily consists of checking the relative positions of two poses (which are presumed to be in the same frame). It can also check the velocity, as some applications require that robot be stopped to be considered as having reached the goal.
|virtual void dwb_local_planner::GoalChecker::initialize||(||const ros::NodeHandle &||nh||)||
Initialize any parameters from the NodeHandle.
|nh||NodeHandle for grabbing parameters|
|virtual bool dwb_local_planner::GoalChecker::isGoalReached||(||const geometry_msgs::Pose2D &||query_pose,|
|const geometry_msgs::Pose2D &||goal_pose,|
|const nav_2d_msgs::Twist2D &||velocity|
Check whether the goal should be considered reached.
|query_pose||The pose to check|
|goal_pose||The pose to check against|
|velocity||The robot's current velocity|
|virtual void dwb_local_planner::GoalChecker::reset||(||)||