Is there some way that I can return values sent by 2 separate encoders and output it to the Dashboard on the driver station?
Also can I limit a spike (instead of 1 and -1 can I have .5 and -.5)
Is there some way that I can return values sent by 2 separate encoders and output it to the Dashboard on the driver station?
Also can I limit a spike (instead of 1 and -1 can I have .5 and -.5)
This is gonna sound kinda mean but I posted it in the NI LabView so I thought it was kinda assumed that my environment was LabView
Mmk i was just wondering cause I don’t want the motors to move so fast that they shoot past the spot that I want it to stop at. But I guess I could just gear it down.
You shouldn’t be using SPIKE relays to power the motors. The KOP (Kit of Parts) includes two Jaguar motor controllers, which use a scaled PWM input to turn the motors anywhere from +1.0 (full forward) to -1.0 (full reverse). Should you find that you require more than these two, additional Jaguars are available for purchase by FIRST teams @ http://www.andymark.com
Victor motor controllers are also an option, which provide similar functionality, but are not included in the KOP.
Both of these can be easily implemented in LabView. In fact, I think two are implemented in the default code. All you have to do is select which PWM channel they are using on the digital sidecar (typically 1 and 2).
Why not?
Is that just a personal preference?
The only motors SPIKEs cannot be used on are the CIMs and Fisher-Price.
I should’ve been more specific I’m not using them as drive motors I’m using the motors as arm motors. Also we use Victors over Jags as a recommendation by our mentor.
Can someone check my dashboard code as I’m 90% sure it is wrong and I cannot test it right now. Its a link to my dropbox so that you can download the zip file containing the 2011 FRC Dashboard Project. (http://dl.dropbox.com/u/18793740/2011PreBuild%20Dashboard.zip)
I have 2 encoders (DIO 1-4) that display on 2 gauges and a numeric display