Quote:
Originally Posted by curtis0gj
Howdy fellow robotic enthusiasts. I am in dire need of assistance programming our teams gyroscope. I am working with the iterative robot template and I am trying to instantiate my gyroscope. However, I always get the error, "Cannot instantiate the type Gyro." I have read that it has to do with instantiating interfaces. But I am bad at programming so I am unsure about this. Please help.
Here is a glimpse of what I am trying to accomplish.
Gyro gyro = new Gyro(1);
|
I think I have solved the error last year it was, Gyro gyro = new Gyro(1); to instantiate. This year it seems to be, AnalogGyro gyro = new AnalogGyro(1); If someone could confirm this that would be awesome.