Esempio n. 1
0
File: wasd.py Progetto: wau/spot-sdk
 def _battery_change_pose(self):
     # Default HINT_RIGHT, maybe add option to choose direction?
     self._start_robot_command(
         'battery_change_pose',
         RobotCommandBuilder.battery_change_pose_command(
             dir_hint=basic_command_pb2.BatteryChangePoseCommand.Request.
             HINT_RIGHT))
Esempio n. 2
0
    def _battery_change_pose(self):
        """Executes the battery-change pose command which causes the robot to sit down if
        standing then roll to its [right]/left side for easier battery changing.
        """

        cmd = RobotCommandBuilder.battery_change_pose_command(
            dir_hint=basic_command_pb2.BatteryChangePoseCommand.Request.
            HINT_RIGHT)
        self._issue_robot_command(cmd)