Need help figuring out how to use PID to go over an obstacle turn to a certain point. (ex. The position that the robot calibrates at)
This is the code I have so far.
Code:
myRobot.SetSafetyEnabled(false);
myRobot.Drive(-.5,0.0);
Wait(1.5);
myRobot.Drive(0.0, 0.0);
turnController->SetSetpoint(0.0f);
Wait(2.0); // Have to wait till the bot turns
Language is C++