DeepBlueRobotics / lib199

Code that we reuse in different projects/years.
Other
2 stars 0 forks source link

Smart motor controllers can conflict with dumb ones #4

Closed brettle closed 3 years ago

brettle commented 3 years ago

It looks like the port numbers we're generating for the fake PWM and encoder associated with a smart motor controller will conflict with other encoders and regular PWM controllers. Can we push them outside the normal range for those numbers? Looks like there are only 10 physical PWM ports on the roboRIO, so just adding 10 (maybe 11, I don't remember where the numbering starts off hand) to the fake ID for the PWM would work.