Documentation Index
Fetch the complete documentation index at: https://motorbridge.seeedstudio.com/llms.txt
Use this file to discover all available pages before exploring further.
MotorBridge Python SDK
v0.3.3 Python 3.10+ A unified, high-performance motor control library for Python. Control brushless motors from multiple vendors with a single, consistent API.Why MotorBridge?
Quick Example
Supported Vendors
| Vendor | Models | MIT | POS_VEL | VEL | FORCE_POS |
|---|---|---|---|---|---|
| Damiao | 4310, 4340P, 6001 | ✅ | ✅ | ✅ | ✅ |
| RobStride | rs-00..rs-06 | ✅ | ✅ | ✅ | ❌ |
| MyActuator | X8 | ❌ | ✅ | ✅ | ❌ |
| HighTorque | HT | ✅ | ✅ | ✅ | ✅ |
| Hexfellow | * | ✅ | ✅ | ❌ | ❌ |
Hexfellow motors require CAN-FD transport. Use
Controller.from_socketcanfd("can0").Architecture
Core Concepts
| Component | Description |
|---|---|
| Controller | Manages transport layer and multiple motor handles |
| Motor | Per-device handle for sending commands and reading state |
| Mode | Control mode enum (MIT, POS_VEL, VEL, FORCE_POS) |
| MotorState | Immutable dataclass containing motor feedback |
Documentation Sections
Getting Started
Getting Started
- Installation - Set up your environment
- Transports - Configure CAN/Serial connections
- Quick Start - Your first motor control program
Tutorials
Tutorials
Step-by-step guides for common tasks:
- Scan & Identify - Find motors on CAN bus
- Enable & Status - Read motor state
- Mode & Control - Send commands
- Multi-Motor - Control multiple motors
- Registers - Configure motor parameters
API Reference
API Reference
- Controller API - Main entry point
- Motor API - Per-motor operations
- Mode & State - Enums and data structures
- CLI Tools - Command-line utilities
Reference
Reference
- Vendor Capability Matrix - Supported vendors, modes, and parameter APIs
- CAN ID & Model Cheatsheet - ID rules and model strings by vendor
- RobStride Parameter Tables - Communication protocol summary and section 4 runtime parameter table
Source Documentation
Source Documentation
- Source Documentation Atlas - Full repository documentation map
- Repository Overview - Current production baseline and architecture links
- RobStride CLI/API Reference - Complete RobStride command and protocol guide
- Python RobStride Binding - Core CLI, Python CLI, and Python SDK comparison
- WebSocket Gateway - Gateway JSON operations and model requirements
Installation
Getting Help
- 📖 Read the Tutorials for step-by-step guides
- 🔍 Check Troubleshooting for common issues
- 💻 Use
motorbridge-cli --helpfor CLI reference