You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Motor Controller service (C++) controls the robot’s motors.
It calculates individual motor speeds based on target speed and direction, runs a software PWM loop, and uses a PID controller to maintain correct motor speeds.
It also publishes real-time motor data (speeds, targets, PID values) via MQTT.
Best Practices
Other services only need to send desired headings and speeds - the controller handles the rest.
Always run in a named screen session: MotorController.