Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 2.1 KB

README.md

File metadata and controls

60 lines (45 loc) · 2.1 KB

CalHacks 10 monorepo

The spot for our code for running spotter on Spot

backend: web server for multilingual, multimodal AI processing

spotter: frontend that enables easy robot control and shows the robot's camera and data feed

  • serves data and object recognition from AI backend
  • makes requests to robot control backend based on keyboard and mouse inputs
  • Bun
  • Next.js
  • shadcn-ui components

robot-control-server: web server that enables remote control of the robot

  • REST API written in Python using Flask
  • Boston Dynamics SDK

Press


Running the stack:

First, clone this repo. If you don't have access to a Spot, you can still demo the entire frontend and AI part of the app locally, as long as you provide your OpenAI and Hume.ai API keys as an environment variables.

backend

  1. install Poetry
  2. poetry install
  3. poetry run dev to start the backend

frontend

  1. install Bun
  2. bun install
  3. bun dev to start the frontend

robot server

  1. connect to Spot's wifi network
  2. run python3 python/examples/wasd_server/app.py and replace the hostname 192.168.80.3 with your Spot's IP
  3. enter the admin username & password, or the equivalent credentials for your Spot
  4. send requests to control endpoints manually or via the frontend