In the fourth lesson you will learn how to record and play autonomous missions with GraphNav service.
This lesson you can solve the challenge without writing your own Python script.
- Record a map avioding obstacles. You can use WASD remote control tool. Save your mission in
- Move Spot through recorded waypoints. You can use GraphNav service command line tool.
The Spot SDK includes APIs, client libraries, and examples that support the development of autonomous navigation behaviors for the Spot robot. Collectively, this service is referred to as GraphNav. Maps are recorded and saved and later can be replayed with any robot in your fleet. During the map recording process, you can assign actions and API callbacks to waypoints along the map route.
You can view recorded maps with View Map example. For that you need to copy the map to your computer:
scp -r email@example.com:<path_to_the_map_on_spot> <path_to_the_map_to_download>
Also you need install spot packages.
Ensure you have Yggdrasil Network software running and configured as described in the Lesson 0. Otherwise you will not have connection to the robot. On macOS you may need to launch Yggdrasil Network in the terminal:
sudo yggdrasil -useconffile /etc/yggdrasil.conf
- Connect to Spot from a terminal or using your development environment remote execution function.
- Develop and demonstrate your solution to the challenge.
We create E-Stop endpoint for you, so you should not create it.
For Spot authentication use username and password from
Spot address is
You can run remote control tool from examples directory.
cd ~/spot-sdk/python/examples/wasd python3 wasd.py --username <SPOT_AUTH_USERNAME> --password <SPOT_AUTH_PASSWORD> <SPOT_ADDRESS>
GraphNav command line tool is located at