API Example - Replaying a Mission¶
This example shows how to replay a mission via the API. The user may pass a map directory and/or a mission file for Spot to play back.
This example assumes that Spot can see the fiducial from “Start” of your mission. To ensure the fiducial is in view, move Spot to a location where the initial fiducial is seen and verify that the fiducial has a purple overlay in the tablet camera view. You may then disconnect the tablet, engage the E-Stop on your current device, and replay the mission.
Run the Example¶
To run the example:
python -m replay_mission --mission <path_to_mission> --username USER --password PASSWORD ROBOT_IP