Go to Post Building a drone during Ri3D is going to be a challenge... - Ginger Power [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2012, 22:42
TravSatEE's Avatar
TravSatEE TravSatEE is offline
Spacecraft Engineer and more
FRC #2035 (Robo Rockin' Bots)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Monterey, CA
Posts: 26
TravSatEE is infamous around these partsTravSatEE is infamous around these parts
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2012, 00:31
chi-town-biker chi-town-biker is offline
Registered User
FRC #3135 (Robotic Colonels)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Chicago
Posts: 46
chi-town-biker is an unknown quantity at this point
Re: cRIO not functioning

FYI... You can't use a spike to control a CIM. You must use a power controller (Jaguar or Victor).
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2012, 00:38
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
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
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2012, 00:48
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: cRIO not functioning

doublepost

Last edited by jesusrambo : 10-02-2012 at 00:42.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2012, 20:44
korsuk19's Avatar
korsuk19 korsuk19 is offline
Registered User
FRC #3734 (Caxy's)
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Lake Forest, Illinois
Posts: 14
korsuk19 is an unknown quantity at this point
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.
__________________
just wanna learn
Reply With Quote
  #6   Spotlight this post!  
Unread 11-02-2012, 15:45
korsuk19's Avatar
korsuk19 korsuk19 is offline
Registered User
FRC #3734 (Caxy's)
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Lake Forest, Illinois
Posts: 14
korsuk19 is an unknown quantity at this point
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?
__________________
just wanna learn
Reply With Quote
  #7   Spotlight this post!  
Unread 11-02-2012, 15:53
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
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.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-02-2012, 17:24
Blondie3160 Blondie3160 is offline
Registered User
FRC #3160 (F.R.O.G.)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Grove, OK
Posts: 21
Blondie3160 is an unknown quantity at this point
Re: cRIO not functioning

Quote:
Originally Posted by TravSatEE View Post
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?


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?
__________________
Blondie3160
Reply With Quote
  #9   Spotlight this post!  
Unread 11-02-2012, 17:58
korsuk19's Avatar
korsuk19 korsuk19 is offline
Registered User
FRC #3734 (Caxy's)
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Lake Forest, Illinois
Posts: 14
korsuk19 is an unknown quantity at this point
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.
__________________
just wanna learn
Reply With Quote
  #10   Spotlight this post!  
Unread 12-02-2012, 03:20
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
Re: cRIO not functioning

Quote:
Originally Posted by korsuk19 View Post
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
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".
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi