Skip to content

DaMiao Motor

Python Version Platform PyPI

DaMiao Motor Control Web GUI

Safety

Commands can move hardware immediately. Use a secure setup and keep clear of moving parts.

What you can do

Use damiao commands to scan, command, and configure motors.

Monitor live position, velocity, torque, and edit writable registers.

Build robust control loops and automate multi-motor workflows.

Understand MIT, POS_VEL, VEL, and FORCE_POS behavior in detail.

Control laws preview

MIT mode control law

The MIT mode combines position error, velocity error, and feedforward torque:

T_ref  = Kp * (p_des - theta_m) + Kd * (v_des - dtheta_m) + tau_ff
iq_ref = T_ref / K_T
id_ref = 0

See all control law diagrams:

Installation

Install from PyPI

pip install damiao-motor

Install from source

For latest repository updates:

git clone https://github.com/jia-xie/python-damiao-driver.git
cd python-damiao-driver
pip install -e .

Verify Installation

python -c "import damiao_motor; print(damiao_motor.__version__)"

Then verify CLI availability:

damiao --help

Next steps