Autonomous navigation code examples
GraphNav provides place-based localization and locomotion services. Developers can record and play back maps for the robot to follow, navigating between waypoints and traversing edges between waypoints on the map.
The Spot SDK includes python code examples to help you get started with autonomous navigation. Refer to the following examples to learn about exercising the GraphNav API.
|recording_command_line||Demonstrates graphnav recording service requests to record, create, and download a map from the robot.|
|graph_nav_command_line||Demonstrates how to use GraphNav requests to:
|remote_mission_service||Demonstrates how to implement a RemoteMissionService and run it. This is how we support triggering off-robot code as part of Autowalk.|
|view_map||An example program for opening, parsing, and viewing a GraphNav map. This example can be used with GraphNav maps generated using Autowalk or using the GraphNav APIs.|
|area_callbacks||An example program for writing Area Callbacks which can extend the capabilities of GraphNav by triggering callbacks to user code when entering, crossing, and leaving a region of the map.|