Quote:
Originally Posted by Mark McLeod
You have two different devices called "Garra"
One is a solenoid and the other is a motor.
That's going to be causing trouble and driving up the loop time on one of your Periodic Task loops.
|
Oh, OH!
Code alert.
So you're saying that I can't use the same name for two different refnums, even if they are different types?
For some reason I assumed that since I need to use specific instances of the put and get refnums for different devices, the name pool for these different devices were unique... but sounds like not !!! Dumb me!!! I also called both the motor and solenoid for the Collector "Collector".
Yes, I'm doing this and yet they "appear" to work... I may be getting mass errors........ but the devices do work... How is that possible?
Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org
FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor