Go to Post Keep your chin up, your safety glasses on, and don't let the magic smoke out of the electrical components and you'll do just fine :) - rsegrest [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2013, 15:18
gamegeek1995 gamegeek1995 is offline
Registered User
FRC #4701
 
Join Date: Jan 2013
Location: Savannah, GA
Posts: 19
gamegeek1995 is an unknown quantity at this point
Issue getting code onto the robot.

We are a rookie team, and out group has been attempting to get both Java and LabView code onto the robot. We've done many suggestions found on the forums and followed the step-by-step instruction guide for both.

For each of these, we used the correct imaging for each code and set it up for our team IP (I.E., 10.47.01.02 for the robot, 10.47.01.05 for our netbook).

{while trying Java}
I've taken down every single firewall I can find, opened every port, and wrote a new "rule" for outgoing data as found in a forum post. This did not work. I uninstalled and reinstalled Netbeans modules, as recommended in the forums. We performed updates and re-updates. With our Driver Station, we have greenlights for Communication and Joysticks. When we tried to run the Java, as outline in the FRC step-by-step instruction guide, we had an error code which, at the top, essentially said there was a communication problem.

{while trying LabView}
Deployed every way it said to in the instructions, all the other settings are the same, and no dice.

Does anyone else have this issue or know of a way to fix it? I've spent 4 hours and my friend has spent 8 trying to get this thing to get onto the robot.
  #2   Spotlight this post!  
Unread 23-01-2013, 15:29
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,749
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Issue getting code onto the robot.

What are the symptoms you see that indicate the code has not been loaded to the robot?
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
  #3   Spotlight this post!  
Unread 23-01-2013, 15:43
gamegeek1995 gamegeek1995 is offline
Registered User
FRC #4701
 
Join Date: Jan 2013
Location: Savannah, GA
Posts: 19
gamegeek1995 is an unknown quantity at this point
Re: Issue getting code onto the robot.

On the driver station, there is still a red indicator light next to "robot code", and if we try to enable the robot, it flashes "no robot code". When we tried to "Run Main Project" on Java, it would compile for about 45 seconds until it gave a block of red text (currently, my associate is trying different things with LabView, so I can't recreate the block of text exactly. However, according to the little messages in Netbeans as the code compiled, it got to where it was trying to connect to the robot and failed.

When Labview is run, it says "successfully deployed" but nothing happens.
Edit (Labview): "The realtime application has not been built. You must build the application before deploying." "FRC robot bootup deployment unable to resolve from current dialogue".

Last edited by gamegeek1995 : 23-01-2013 at 15:48.
  #4   Spotlight this post!  
Unread 23-01-2013, 16:03
gamegeek1995 gamegeek1995 is offline
Registered User
FRC #4701
 
Join Date: Jan 2013
Location: Savannah, GA
Posts: 19
gamegeek1995 is an unknown quantity at this point
Re: Issue getting code onto the robot.

Update: We got the robot code light lit on the Driver Station, using LabView but there is no movement. We're currently looking for the joystick input on LabView. Chriz4gx's thread has a solution that worked for us.
  #5   Spotlight this post!  
Unread 23-01-2013, 16:33
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,749
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Issue getting code onto the robot.

Congratulations
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
  #6   Spotlight this post!  
Unread 23-01-2013, 21:06
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Issue getting code onto the robot.

If you haven't made too many changes to the default LabVIEW project, it'll be showing you the X, Y, and "throttle" axes of Joystick 1 on the Dashboard screen. It'll also show the commanded values on the motors defined as your left and right drive.
  #7   Spotlight this post!  
Unread 24-01-2013, 16:32
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Issue getting code onto the robot.

For the Java download, you should see it connect to the robot using FTP and copy the image. Then it reboots the cRIO and the program starts running.

Here is a document that shows what it should look like if it's working correctly for reference:
https://Wpilib.screenstepslive.com/s/3120/d/tgdg2w

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Closed Thread


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 02:15.

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