View Single Post
  #2   Spotlight this post!  
Unread 27-01-2009, 08:24
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote