Quote:
Originally Posted by rjbarra
It uses RobertDrive class which does not support crab drive
|
I assume you're referring to the "RobotDrive" class.
It would be easy enough to create your own CrabDrive class which extends the RobotDrive class. This would allow you to pass a CrabDrive to the vision code and have it work properly.
Code:
class CrabDrive : RobotDrive {
//build your class here.
}
Yay for inheritance and OOP!