Go to Post Conspire to Inspire despite what may transpire ! - Bill_B [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 10-01-2012, 21:03
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Deploying application to cRIO

I have an application I want to deploy to the cRIO.

I have a crossover cable connected; do I right click my project and click the sunspot jar-deploy, the deploy, or what?

When I do the above two, I get some socket read error when netbeans tries to connect to the cRIO with FTP.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2012, 21:11
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Deploying application to cRIO

Have you set your team number in Netbeans? Open netbeans preferences (varies platform to platform), click miscellaneous, and then click FRC Configuration, and change Team Number to your team number. Also, make sure that your IP address is on the same subnet as your cRIO.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2012, 21:21
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Deploying application to cRIO

Yes, I did.
When it's deploying, it says it connects via FTP to 10.39.92.6, which is the cRIO IP.

I have cRIO Image v43 loaded.

Was I deploying it the right way?
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2012, 21:27
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Deploying application to cRIO

It connectes to 10.39.92.6? The IP address of the cRIO should end with a .2 . Try disabling all network interfaces aside from the ethernet port. What is the IP address and subnet mask associated with that ethernet port?

Oliver
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2012, 21:34
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Deploying application to cRIO

My bad, I meant .2, my laptop (classmate) is .6.

I did that as well, only my ethernet connection is enabled.
the IP is 10.39.92.6 and the subnet is 255.255.255.0

Also curious, aside from this,
how do we set up the D-Link wireless access point to control the drivetrain using the joystick wirelessly?

Thanks!
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2012, 21:45
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Deploying application to cRIO

Try manually connecting to the cRIO via FTP using a web browser, the url would be ftp://10.39.92.2 the user name is anonymous, and the password can be left blank.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2012, 00:27
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Deploying application to cRIO

We figured out what was going on, we needed to turn off windows firewall, it was blocking the FTP connection.

But now we have a knew problem.

We loaded code onto the cRIO, java code with an autonomous method and an operator controlled method. All we want to do is test it and try to run the motors using the autonomous code.

Now, we have Driver Station installed and it seems to find cRIO. But how to we run the deployed program in autonomous? When we clicked 'enable' for autonomous in driver station, nothing happened.

Our Jaguar's are also blinking yellow. Should this be like this (without running the program).

Thanks
Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2012, 03:12
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
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
The java code is deployed when you press the green "play" button in netbeans. The code is automatically downloaded via FTP and the robot is rebooted with the code running. The first time you do this after reimaging the cRIO you have to manually reboot the robot after it deploys the java components. After that it reboots automatically on program downloads.

You'll know it worked because the Driver Station communications and program lights will both be green.

If that doesn't help, you'll have to post more details about your program.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
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 10:55.

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