MotorBridge Python SDK
v0.5.0 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
Hexfellow motors require CAN-FD transport. Use
Controller.from_socketcanfd("can0").Architecture
Core Concepts
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
1
Install Package
2
Configure CAN Interface
3
Run Your First Program
Getting Help
- 📖 Read the Tutorials for step-by-step guides
- 🔍 Check Troubleshooting for common issues
- 💻 Use
motorbridge-cli --helpfor CLI reference