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

fix: setGains called on wrong pid

parent 0cd51939
Branches feat/ros-param
No related tags found
No related merge requests found
Pipeline #240 passed with stage
in 3 minutes and 40 seconds
......@@ -87,7 +87,7 @@ void MccdNode::getParams()
if (m_nodeHandle.getParam("/motors/right_motor_gains", rightMotorGains, 3))
{
m_leftMotorPid->setGains({rightMotorGains[0], rightMotorGains[1], rightMotorGains[2]});
m_rightMotorPid->setGains({rightMotorGains[0], rightMotorGains[1], rightMotorGains[2]});
}
else
{
......
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