pyrobosim_ros.ros_interface.WorldROSWrapper.robot_path_cancel_callback

WorldROSWrapper.robot_path_cancel_callback(goal_handle, robot=None)

Handle a cancel request for the robot path following action.

Parameters:
  • goal_handle (pyrobosim_msgs.action.FollowPath.Goal) – Path following action goal handle to cancel.

  • robot (pyrobosim.core.robot.Robot) – The robot instance corresponding to this request.

Returns:

The goal handle cancellation response.

Return type:

rclpy.action.CancelResponse