Skip to content

PUDAP/dobot

Repository files navigation

dobot

Dobot M1 Pro driver and edge service.

What It Does

  • Runs the dobot machine edge service.
  • Connects to NATS and translates commands into machine actions.
  • Communicates with the dobot device over the network (IP).

Prerequisites

  • Docker and Docker Compose installed
  • Python 3.14+ and uv (for baremetal mode)
  • dobot device reachable on the network

Environment Setup

From repo root:

cp .env.example .env

Edit .env and configure:

  • MACHINE_ID
  • NATS_SERVERS
  • DOBOT_IP

Run With Docker (Recommended)

All commands below are run from repo root.

Build and start:

docker compose up -d --build

View logs:

docker compose logs -f

Stop:

docker compose down

Run Baremetal (uv)

From repo root:

uv sync
uv run python main.py

Build and Push Image (GHCR)

Login:

echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin

Build:

docker compose build

Push:

docker push ghcr.io/PUDAP/dobot-edge:latest

Or with Compose:

docker compose push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages