Hi all,
I'm almost done with reprogramming this year's robot in C++ instead of LabVIEW. The only thing holding me back from marking it done is the autonomous.
In autonomous I'm telling the robot to go forward like so:
Code:
static const float autonomousForwardPower = -0.5;
//Move forward!
drivetrain->ArcadeDrive(autonomousForwardPower, 0.0);
Same exact drivetrain I use for teleop. I even use the function in teleop. Though it seems no matter what I do the robot turns left at full speed instead of going straight.
I even tried it in teleop and it does the same thing.
So, yeah - I'm confused why this is happening. Thoughts?
-Tanner