Skip to main content

Tutorial 04: Multi-Motor Control

Prerequisites

Same Vendor, Same Controller

For motors from the same vendor, use one controller:

Different Vendors, Separate Controllers

For mixed vendor setups, use separate controllers:
Do not mix vendors in the same Controller instance. Each vendor has a different protocol implementation.

Dictionary-Based Motor Management

Use dictionaries for organized motor access:

Batch Feedback Query Pattern

Efficiently query all motor states:

Coordinated Motion

Synchronized Motion

Alternating Motion

Safety Monitoring

Monitor multiple motors for safety:

Performance Tips

Minimize CAN Overhead

Maintain Loop Timing

Complete Example

Next Steps