|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: cRIO not functioning
A quick check:
- Power on the robot. Jaguars should blink yellow. - Your digital sidecar has 3 LEDs for the different voltages. Are all 3 lit up? - Enable the robot in teleop mode on the driver station. Jaguars should be solid yellow. If not, your digital module on the cRIO is in the wrong slot, not seated correctly in the slot, or the ribbon cable is unplugged/incorrectly made (as some of them were). You also start your Relay at 5. Relays are not PWM outputs. Relays are off of the relay connectors on the digital sidecar. Did you realize this or is it plugged into the digital sidecar in PWM output 5? Last edited by TravSatEE : 08-02-2012 at 22:49. |
|
#2
|
|||
|
|||
|
Re: cRIO not functioning
FYI... You can't use a spike to control a CIM. You must use a power controller (Jaguar or Victor).
|
|
#3
|
|||
|
|||
|
Re: cRIO not functioning
Yep, and in fact there's a rule about that (http://www.chiefdelphi.com/forums/sh...1&postcount=6). CIM motors draw too much current to be safely used with a spike, IIRC
|
|
#4
|
|||
|
|||
|
Re: cRIO not functioning
doublepost
Last edited by jesusrambo : 10-02-2012 at 00:42. |
|
#5
|
||||
|
||||
|
Re: cRIO not functioning
ok, today, I tried taking out the while loop I had, and took out the if statement to see if that was messing with the robot, and nothing happened still.
|
|
#6
|
||||
|
||||
|
Re: cRIO not functioning
So, I found out some new information. NetBeans is only uploading the BuiltInDefaultCode and not the one's we have created. Is there at all a fix to this?
|
|
#7
|
|||
|
|||
|
Re: cRIO not functioning
Make sure you're deploying the right project. Right click your project in the Project Explorer tab and click set as main project.
|
|
#8
|
|||
|
|||
|
Re: cRIO not functioning
Quote:
Only two of the three voltage lights on the side car are lit up. how do i get the third? i have 12v and 24v, but not 5v. help? |
|
#9
|
||||
|
||||
|
Re: cRIO not functioning
thanks everyone! the issue is now fixed.
I could cry tears of joy right now. cRIO or NB one of the two wasn't keen on my class name BallBot for some reason, using the SimpleRobot extension gave errors for some reason, and I needed to identify the Main Project. |
|
#10
|
|||
|
|||
|
Re: cRIO not functioning
When you are creating your project, it will ask you for a main class name; If you change it, you need to tell Netbeans (actually, ant) by editing "build.xml".
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|