Quote:
Originally Posted by Dpurry23
I pushed the NavX rotate to angle example to my code but now i'm receiving another error. No matter what I put in the PIDOutput space it is coming out as not being able to convert it.
Code:
RobotDrive myRobot;
turnController = new PIDController(kP, kI, kD, ahrs, myRobot);
|
Can you post your code, and the error message? Please keep in mind that in order for this to work, myRobot needs to implement the PIDOutput interface, so my best guess is myRobot is an instance of a class which does not implement the PIDOutput interface - but it's hard to tell with only this information.