Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Spot SDK map visualizer. Supports images, semantic location and object labels

License

NotificationsYou must be signed in to change notification settings

vocdex/spot-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This application helps visualize and interact with Spot robot's GraphNav maps. It consists of:

  1. Flask Backend: Processes and serves GraphNav map data
  2. React Frontend: Provides an interactive 2D visualization of the map along with recorded waypoint snapshots(images) and Retrieval Augmented Graph (RAG) database

Screenshots


Raw Map Visualization



Object Filtered Map



Waypoint Details with Camera Images


Running the Application

Setup Backend (Flask)

  1. Install requirements:

    pipinstallflaskflask-corsopencv-pythonnumpyscipybosdyn-clientpillow
  2. Run the Flask server:

    cdbackendpythonapp.py--map-path/path/to/map--rag-path/path/to/rag_db--port5000

Inmap-path, we expect a folder containing GraphNav map files:

  • graph
  • edge_snapshots
  • waypoint_snapshotsInrag-path, we expect a folder containing the RAG database file:
  • index.faiss
  • index.pkl
  • metadata_waypoint_id.json for each waypointTo build such a database, please refer to the main project repository atSpottyAI

Setup Frontend (React)

  1. Navigate to the React app directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start

If there is an error, you might have to set the following:

export NODE_OPTIONS=--openssl-legacy-provider

The application should be accessible athttp://localhost:3000

Key Features

  • 2D Map Visualization: Interactive canvas-based rendering with pan and zoom
  • Waypoint Selection: Click on waypoints to view details and camera images
  • Object Filtering: Filter waypoints by visible objects
  • Waypoint Labeling: Edit waypoint labels with automatic updates
  • Multiple Views: Toggle between anchored and non-anchored coordinate frames

Tested On

  • Python 3.8.20
  • Node v22.13.0
  • npm 10.9.2
  • React 19.0.0
  • MacOS 12.4

Future Enhancements

It would be great to add the following features:

  • Path planning and visualization:
    • A* path planning
    • Path visualization on the map
  • Real-time updates with WebSockets and Spot SDK

About

Spot SDK map visualizer. Supports images, semantic location and object labels

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp