Class ROSCancelOperation

java.lang.Object
org.hypermedea.op.BaseOperation
org.hypermedea.ros.ROSOperation
org.hypermedea.ros.ROSCancelOperation
All Implemented Interfaces:
org.hypermedea.op.Operation

public class ROSCancelOperation extends ROSOperation
  • Field Details

  • Constructor Details

  • Method Details

    • sendSingleRequest

      protected void sendSingleRequest() throws IOException
      Publish message of type "actionlib_msgs/GoalID" to the cancel topic of the action server declared in form. Note that the rosbridge protocol provides no guarantee that the request was indeed received by the Thing. The operation thus builds an empty response immediately after sending the request.
      Overrides:
      sendSingleRequest in class ROSOperation
      Throws:
      IOException
    • getTopicName

      protected String getTopicName(String path)
      Description copied from class: ROSOperation
      Map the path element of the operation's target URI to a ROS topic.
      Specified by:
      getTopicName in class ROSOperation
      Parameters:
      path - path of the target URI declared in the input form
      Returns:
      a full topic name for the operation