Go to Post I didn't feel like reading this whole thread, which, as I understand, is talking about people not wanting to read long threads. - Mike [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 28-01-2012, 19:55
NS_Radication's Avatar
NS_Radication NS_Radication is offline
Student
AKA: Marco Schoener
FRC #1369 (Minotaur)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Tampa
Posts: 88
NS_Radication is an unknown quantity at this point
Loading/Running Code FRC Java (Netbeans) Problem

This is the most tedious electronics and programming apparatus, yet it is so simple.

For months before the kick off, I could not load code onto the cRIO to make a motor MOVE after reformatting it to Java image (We now have the right Java cRIO update v43).

Recently, a programmer from Team Hydra helped me re-image the Classmate to the new image with Windows 7 Professional. I re-installed NetBeans 7.1 and all the other updates from NI.com for LabVIEW, Utilities, and the Driver Station. He loaded the default code with his laptop and my laptop (I found out that you have to turn the firewall OFF!) and the Jaguar detected the code and we tested the motor, IT MOVED! When that occured, I thought it was set. I kept the electronics the same and tested the DefaultCode in autonomous and it ran for .5 sec instead of 2 sec, in other words, it twitched for a split-second. I was still happy because it still worked (2/3 the time that I went autonomous, it twitched). When the motor refused to move when I attached the same electronics apparatus with the new electronics, still have cRIO I, and the Jaguar does the flashing yellow light again (no code loaded onto it). I tried to make very simple codes to move the motor autonomously with SimpleRobot subclass. I got "RobotDrive ... output not updated enough".

My Classmate settings were (on tether)
IP: 10.13.69.6
Subnet: 255.255.255.0 (But everytime I went back, it changes to 255.0.0.0)

cRIO: 10.13.69.2
Slot 1: 9201 (w/ Analog Bumper, not powered)
Slot 2: 9403 (cabled to sidecar)
Slot 3: 9201 (w/ new Analog Breakout, not powered)
Slot 4: 9472 (w/ Analog Bumper, not powered)
Slot 5: 9403 (not connected)
Slot 6: Empty
Slot 7: Empty
Slot 8: Empty

Battery charged
PWMs in channel 1 and connected correctly

Plus if anyone knows why the AndyMark orange warning light won't flash?

Any help or other hints will be greatly appreciated and if I was unclear about ANYTHING, please feel free to correct me (I may be a veteran, but I am new to programming and electrical section, but a fast learner)!

Thank you in advanced!

EDIT: I wiil also post this under the Electrical section!
__________________
Team 1369
Senior
Head Programmer (Java)
Head Electrician

Last edited by NS_Radication : 28-01-2012 at 19:58. Reason: Update
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2012, 23:29
cgmv123's Avatar
cgmv123 cgmv123 is online now
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,078
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Loading/Running Code FRC Java (Netbeans) Problem

Quote:
Originally Posted by NS_Radication View Post
cRIO: 10.13.69.2
Slot 1: 9201 (w/ Analog Bumper, not powered)
Slot 2: 9403 (cabled to sidecar)
Slot 3: 9201 (w/ new Analog Breakout, not powered)
Slot 4: 9472 (w/ Analog Bumper, not powered)
Slot 5: 9403 (not connected)
Slot 6: Empty
Slot 7: Empty
Slot 8: Empty
It should be:
Slot 1: 9201 w/Analog Breakout powered from the PDB from a normal 20 Amp circuit (required)
Slot 2: 9403 cabled to sidecar (not explicitly required but recommended if you want your robot to do anything)
Slot 3: 9472 with Solenoid Breakout powered from the PDB with 24 volts (at the base, same connector the cRIO plugs into) (optional)
Slot 4: Blank (required)
Slot 5-7: repeat of 1-3 (all optional)
Slot 8: Blank (required)

9201 and 9472 have different breakouts. 9201, the Analog breakout, is a 3x8 header. 9472, the Solenoid breakout, is a 2x8 header.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

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 22:22.

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