|
Re: Open motor reference on Slot 6 DIO Module
What you are seeing is the result of WPI lib trying to make the drive class look really simple. To do this, params were left out such as the slot.
I don't have the code open, but I'll list a few other choices which are perhaps less cumbersome.
1. Use slot 4 for the drive motors, and the other slot for mechanism motors.
2. Look at the drive class. It doesn't do much anyway. The primary benefit is probably the joysick differential algorithms. You can drop down and directly interact with the motor class.
If you do decide to change the Drive library, you may want to save it to a new location. It is unlikely to change again, but you wouldn't want an updater to back out your changes.
Greg McKaskle
|