Graph Nav Upload
- bosdyn.client.graph_nav_upload.upload_from_disk(client: GraphNavClient, graph_directory: Path, graph_file: Path | None = None)[source]
Helper function to upload a graph and all snapshots to a robot. Only supports robots running 5.1.0 or later.
This function does not provide much customization. If you need more complicated control of timeouts, async calls, or anything else, please copy the details out and modify them for your use case.
- Parameters:
client – GraphNavClient to use for the upload.
graph_directory – Path to the directory containing the graph and snapshots. Follows the standard file structure and naming conventions.
graph_file – Optional path to the graph file. If the path is not absolute, it will be interpreted as relative to the graph_directory.