Package edu.tufts.hrilab.diarcros.fetch
Class GripperControllerGripperActionNode
java.lang.Object
edu.tufts.hrilab.diarcros.fetch.GripperControllerGripperActionNode
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
cancelGoalsAtAndBeforeTime
(edu.tufts.hrilab.diarcros.msg.Time time) edu.tufts.hrilab.diarcros.msg.control_msgs.GripperCommand
Singleton accessor method.control_msgs.GripperCommandResult
edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Log
org.ros.actionlib.state.SimpleClientGoalState
getState()
void
sendClock
(edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Clock msg) void
sendGoal
(edu.tufts.hrilab.diarcros.msg.control_msgs.GripperCommandGoal goal) void
sendGripperControllerState
(edu.tufts.hrilab.diarcros.msg.control_msgs.JointControllerState msg) void
void
boolean
waitForResult
(long timeout, TimeUnit units) void
boolean
waitForServer
(long timeout, TimeUnit units)
-
Method Details
-
getInstance
Singleton accessor method. Thread-safe.- Returns:
-
waitForNode
public void waitForNode() -
getRosout
public edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Log getRosout() -
getGripperControllerCommand
public edu.tufts.hrilab.diarcros.msg.control_msgs.GripperCommand getGripperControllerCommand() -
sendGripperControllerState
public void sendGripperControllerState(edu.tufts.hrilab.diarcros.msg.control_msgs.JointControllerState msg) -
sendClock
public void sendClock(edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Clock msg) -
cancelAllGoals
public void cancelAllGoals() -
cancelGoal
public void cancelGoal() throws org.ros.exception.RosException- Throws:
org.ros.exception.RosException
-
cancelGoalsAtAndBeforeTime
public void cancelGoalsAtAndBeforeTime(edu.tufts.hrilab.diarcros.msg.Time time) -
getResult
public control_msgs.GripperCommandResult getResult() throws org.ros.exception.RosException- Throws:
org.ros.exception.RosException
-
getState
public org.ros.actionlib.state.SimpleClientGoalState getState() -
sendGoal
public void sendGoal(edu.tufts.hrilab.diarcros.msg.control_msgs.GripperCommandGoal goal) throws org.ros.exception.RosException - Throws:
org.ros.exception.RosException
-
waitForResult
- Throws:
InterruptedException
-
waitForResult
- Throws:
InterruptedException
-
waitForServer
- Throws:
InterruptedException
-
waitForServer
- Throws:
InterruptedException
-