public void handleGoHomeCommand(GoHomeCommand command) { if (command.getRequest(BodyPart.CHEST)) goToHomeFromCurrentDesired(command.getTrajectoryTime()); }
public void handleGoHomeCommand(GoHomeCommand command) { for (RobotSide robotSide : RobotSide.values) { if (command.getRequest(robotSide, BodyPart.ARM)) goToDefaultState(robotSide, command.getTrajectoryTime()); } }
public void handleGoHomeCommand(GoHomeCommand command) { if (command.getRequest(BodyPart.PELVIS)) goToHomeFromCurrentDesired(command.getTrajectoryTime()); }
public void handleGoHomeCommand(GoHomeCommand command, FrameOrientation currentDesired) { if (command.getRequest(BodyPart.CHEST)) goToHome(command.getTrajectoryTime(), currentDesired); }