Package edu.tufts.hrilab.diarcros.pr2
Class LGripperControllerGripperActionNode
java.lang.Object
edu.tufts.hrilab.diarcros.pr2.LGripperControllerGripperActionNode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
callLGripperControllerGripperActionNodeGetLoggers
(edu.tufts.hrilab.diarcros.msg.roscpp.GetLoggersRequest request, edu.tufts.hrilab.diarcros.msg.roscpp.GetLoggersResponse response) boolean
callLGripperControllerGripperActionNodeSetLoggerLevel
(edu.tufts.hrilab.diarcros.msg.roscpp.SetLoggerLevelRequest request, edu.tufts.hrilab.diarcros.msg.roscpp.SetLoggerLevelResponse response) void
void
void
cancelGoalsAtAndBeforeTime
(edu.tufts.hrilab.diarcros.msg.Time time) Singleton accessor method.edu.tufts.hrilab.diarcros.msg.pr2_controllers_msgs.Pr2GripperCommand
pr2_controllers_msgs.Pr2GripperCommandResult
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.pr2_controllers_msgs.Pr2GripperCommandGoal goal) void
sendLGripperControllerState
(edu.tufts.hrilab.diarcros.msg.pr2_controllers_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() -
getLGripperControllerCommand
public edu.tufts.hrilab.diarcros.msg.pr2_controllers_msgs.Pr2GripperCommand getLGripperControllerCommand() -
sendLGripperControllerState
public void sendLGripperControllerState(edu.tufts.hrilab.diarcros.msg.pr2_controllers_msgs.JointControllerState msg) -
sendClock
public void sendClock(edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Clock msg) -
callLGripperControllerGripperActionNodeGetLoggers
public boolean callLGripperControllerGripperActionNodeGetLoggers(edu.tufts.hrilab.diarcros.msg.roscpp.GetLoggersRequest request, edu.tufts.hrilab.diarcros.msg.roscpp.GetLoggersResponse response) -
callLGripperControllerGripperActionNodeSetLoggerLevel
public boolean callLGripperControllerGripperActionNodeSetLoggerLevel(edu.tufts.hrilab.diarcros.msg.roscpp.SetLoggerLevelRequest request, edu.tufts.hrilab.diarcros.msg.roscpp.SetLoggerLevelResponse response) -
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 pr2_controllers_msgs.Pr2GripperCommandResult 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.pr2_controllers_msgs.Pr2GripperCommandGoal goal) throws org.ros.exception.RosException - Throws:
org.ros.exception.RosException
-
waitForResult
- Throws:
InterruptedException
-
waitForResult
- Throws:
InterruptedException
-
waitForServer
- Throws:
InterruptedException
-
waitForServer
- Throws:
InterruptedException
-