Package edu.tufts.hrilab.movebase
Class MoveBase
java.lang.Object
edu.tufts.hrilab.movebase.MoveBase
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMoveBase
(RosConfiguration rc, String mapFrame, String baseFrame) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionedu.tufts.hrilab.diarcros.msg.geometry_msgs.Pose
getPose()
Get robot's current pose.goToLocation
(edu.tufts.hrilab.diarcros.msg.geometry_msgs.Pose pose, boolean wait) Go to a pose in the world.isMoving()
Is robot currently moving.stop()
Stop the robot, and cancel any move base goals.
-
Field Details
-
log
protected static org.slf4j.Logger log
-
-
Constructor Details
-
MoveBase
Constructor.- Parameters:
rc
-mapFrame
-baseFrame
-
-
-
Method Details
-
getPose
public edu.tufts.hrilab.diarcros.msg.geometry_msgs.Pose getPose()Get robot's current pose.- Returns:
-
goToLocation
public Justification goToLocation(edu.tufts.hrilab.diarcros.msg.geometry_msgs.Pose pose, boolean wait) Go to a pose in the world.- Parameters:
pose
- a goal pose
-
stop
Stop the robot, and cancel any move base goals.- Returns:
-
isMoving
Is robot currently moving.- Returns:
-