Package edu.tufts.hrilab.diarcros.fetch
Class TorsoControllerFollowJointTrajectoryActionNode
java.lang.Object
edu.tufts.hrilab.diarcros.fetch.TorsoControllerFollowJointTrajectoryActionNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
cancelTorsoControlMsgsFollowJointTrajectoryGoalsAtAndBeforeTime
(edu.tufts.hrilab.diarcros.msg.Time time) edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Log
edu.tufts.hrilab.diarcros.msg.trajectory_msgs.JointTrajectory
control_msgs.FollowJointTrajectoryResult
org.ros.actionlib.state.SimpleClientGoalState
void
sendClock
(edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Clock msg) void
sendTorsoControllerState
(edu.tufts.hrilab.diarcros.msg.control_msgs.JointTrajectoryControllerState msg) void
sendTorsoControlMsgsFollowJointTrajectoryGoal
(edu.tufts.hrilab.diarcros.msg.control_msgs.FollowJointTrajectoryGoal goal) void
void
boolean
waitForTorsoControlMsgsFollowJointTrajectoryResult
(long timeout, TimeUnit units) void
boolean
waitForTorsoControlMsgsFollowJointTrajectoryServer
(long timeout, TimeUnit units)
-
Constructor Details
-
TorsoControllerFollowJointTrajectoryActionNode
public TorsoControllerFollowJointTrajectoryActionNode()
-
-
Method Details
-
waitForNode
public void waitForNode() -
getRosout
public edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Log getRosout() -
getTorsoControllerCommand
public edu.tufts.hrilab.diarcros.msg.trajectory_msgs.JointTrajectory getTorsoControllerCommand() -
sendTorsoControllerState
public void sendTorsoControllerState(edu.tufts.hrilab.diarcros.msg.control_msgs.JointTrajectoryControllerState msg) -
sendClock
public void sendClock(edu.tufts.hrilab.diarcros.msg.rosgraph_msgs.Clock msg) -
cancelAllTorsoControlMsgsFollowJointTrajectoryGoals
public void cancelAllTorsoControlMsgsFollowJointTrajectoryGoals() -
cancelTorsoControlMsgsFollowJointTrajectoryGoal
public void cancelTorsoControlMsgsFollowJointTrajectoryGoal() throws org.ros.exception.RosException- Throws:
org.ros.exception.RosException
-
cancelTorsoControlMsgsFollowJointTrajectoryGoalsAtAndBeforeTime
public void cancelTorsoControlMsgsFollowJointTrajectoryGoalsAtAndBeforeTime(edu.tufts.hrilab.diarcros.msg.Time time) -
getTorsoControlMsgsFollowJointTrajectoryResult
public control_msgs.FollowJointTrajectoryResult getTorsoControlMsgsFollowJointTrajectoryResult() throws org.ros.exception.RosException- Throws:
org.ros.exception.RosException
-
getTorsoControlMsgsFollowJointTrajectoryState
public org.ros.actionlib.state.SimpleClientGoalState getTorsoControlMsgsFollowJointTrajectoryState() -
sendTorsoControlMsgsFollowJointTrajectoryGoal
public void sendTorsoControlMsgsFollowJointTrajectoryGoal(edu.tufts.hrilab.diarcros.msg.control_msgs.FollowJointTrajectoryGoal goal) throws org.ros.exception.RosException - Throws:
org.ros.exception.RosException
-
waitForTorsoControlMsgsFollowJointTrajectoryResult
- Throws:
InterruptedException
-
waitForTorsoControlMsgsFollowJointTrajectoryResult
public boolean waitForTorsoControlMsgsFollowJointTrajectoryResult(long timeout, TimeUnit units) throws InterruptedException - Throws:
InterruptedException
-
waitForTorsoControlMsgsFollowJointTrajectoryServer
- Throws:
InterruptedException
-
waitForTorsoControlMsgsFollowJointTrajectoryServer
public boolean waitForTorsoControlMsgsFollowJointTrajectoryServer(long timeout, TimeUnit units) throws InterruptedException - Throws:
InterruptedException
-