def _sit(self): self._start_robot_command('sit', RobotCommandBuilder.sit_command())
def test_sit_command(): command = RobotCommandBuilder.sit_command() _test_has_mobility(command) assert command.mobility_command.HasField("sit_request")
def sit(self): """Stop the robot's motion and sit down if able.""" response = self._robot_command(RobotCommandBuilder.sit_command()) self._last_sit_command = response[2] return response[0], response[1]
def build_sit_command(deprecated): if (deprecated): cmd = RobotCommandBuilder.sit_command() else: cmd = RobotCommandBuilder.synchro_sit_command() return cmd