Thanks, they do declare now, however...
Quote:
Originally Posted by one_each
For classes, use the -> operator to access methods and fields from the pointer.
|
I really don't understand these pointers, when I try to set the solenoids using something like
grabSolenoid.set(DoubleSolenoid::kForward);
it says "request for member 'set' in '(((Robot*)this))->Robot::grabSolenoid', which is of pointer type 'DoubleSolenoid' (maybe you meant to use '->' ?)"
where do I put the ->?