Go to Post Isn't the professional level for us called a job? - CalTran [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 08:34.

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