Skip to content
Snippets Groups Projects
Commit c26bdefd authored by Charles Javerliat's avatar Charles Javerliat
Browse files

Add reset PID errors at boot

parent e4fb9b96
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,8 @@ void MccdNode::start()
wait_ms(COMM_UPDATE_INTERVAL);
m_nodeHandle.spinOnce();
m_speedRegulator->reset();
// Shutdown PWM for safety
m_leftMotor->disablePwm();
m_rightMotor->disablePwm();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment