Go to Post ...next years game will hopefully make my head hurt, this years did. - Michael Leicht [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 19-02-2013, 18:18
megmeg megmeg is offline
Registered User
FRC #3659
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Florida
Posts: 5
megmeg is an unknown quantity at this point
Exclamation Running code wirelessly

I need help running the program on the robot. How do I send the program through the D-Link? Or do I have to hook up the computer directly to the cRIO? I just started programming this year and there aren't any members with programming experience any better than mine on our team. If anyone can walk me through this I'd really appreciate it.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2013, 20:16
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: Running code wirelessly

you can setup the D-Link to act as an access point. There is a guide to configuring your D-Link. http://www.usfirst.org/sites/default..._08_13_195.zip

http://wpilib.screenstepslive.com/s/...o-for-home-use

Last edited by MagiChau : 19-02-2013 at 20:20.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-03-2013, 19:31
megmeg megmeg is offline
Registered User
FRC #3659
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Florida
Posts: 5
megmeg is an unknown quantity at this point
Re: Running code wirelessly

Thanks, the link was very helpful. However, when I try to configure the bridge, it shows this,
"Configuring computer IP address
Checking for bridge at expected IP addresses
Bridge found at default IP address
Bridge login failed"
Do you have any suggestions for how to fix this?
Reply With Quote
  #4   Spotlight this post!  
Unread 11-03-2013, 11:34
cgmv123's Avatar
cgmv123 cgmv123 is offline
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: Running code wirelessly

Quote:
Originally Posted by megmeg View Post
Thanks, the link was very helpful. However, when I try to configure the bridge, it shows this,
"Configuring computer IP address
Checking for bridge at expected IP addresses
Bridge found at default IP address
Bridge login failed"
Do you have any suggestions for how to fix this?
You need to do a hard reset. The utility or the setup instructions should have instructions. I can't remember how off the top of my head.
__________________
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
  #5   Spotlight this post!  
Unread 11-03-2013, 12:12
megmeg megmeg is offline
Registered User
FRC #3659
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Florida
Posts: 5
megmeg is an unknown quantity at this point
Re: Running code wirelessly

I followed the instructions for resetting it in the bridge configuration tool, but after I did it, that is the message it gave me. I'm not sure if I didn't do the reset correctly or what, but it still hasn't worked.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-03-2013, 14:34
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Running code wirelessly

Try setting the configuration tool to run as administrator in compatibility mode for Windows 7. Even if you're using Windows 7 already. For whatever reason, bridge configuration wouldn't work for me on the classmate until I did so.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #7   Spotlight this post!  
Unread 11-03-2013, 17:58
tuXguy15's Avatar
tuXguy15 tuXguy15 is offline
Team Mentor
AKA: Devin Kolarac
FRC #2559 (Normality Zero)
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Harrisburg, PA
Posts: 127
tuXguy15 is an unknown quantity at this point
Re: Running code wirelessly

Im just curious... Do you have DHCP setup on the dlink and if not did you set ur computer to a static ip of 10.XX.YY.ZZ (XX.YY is your team number and ZZ is what number you want that isn't 1, 2, 9, or 11)
Reply With Quote
  #8   Spotlight this post!  
Unread 14-03-2013, 19:20
AlexBrinister AlexBrinister is offline
Registered User
AKA: Alex Brinister
FRC #1768 (RoboChiefs)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Bolton, MA
Posts: 93
AlexBrinister will become famous soon enough
Re: Running code wirelessly

To COMPLETELY reset the D-Link, do the following:

1. Hold the reset button for 30 seconds while it is still turned on
2. Unplug the D-Link while still holding the reset button. Hold it for another 30 seconds
3. Plug it back in while still holding the reset button.

That should do it.

The default address of the D-Link is 192.168.0.50. You should statically set your IP to something like 192.168.0.51. So:

192.168.0.51
255.255.255.0
192.168.0.50
8.8.8.8

Then run the utility and you should be all set.

Alex Brinister
Reply With Quote
  #9   Spotlight this post!  
Unread 18-03-2013, 16:54
megmeg megmeg is offline
Registered User
FRC #3659
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Florida
Posts: 5
megmeg is an unknown quantity at this point
Re: Running code wirelessly

Quote:
Originally Posted by Zer0 View Post
Im just curious... Do you have DHCP setup on the dlink and if not did you set ur computer to a static ip of 10.XX.YY.ZZ (XX.YY is your team number and ZZ is what number you want that isn't 1, 2, 9, or 11)
What is DHCP? My computer is set to 10.36.59.6, but it hasn't worked so far.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-03-2013, 16:58
megmeg megmeg is offline
Registered User
FRC #3659
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Florida
Posts: 5
megmeg is an unknown quantity at this point
Re: Running code wirelessly

Quote:
Originally Posted by AlexBrinister View Post
To COMPLETELY reset the D-Link, do the following:

1. Hold the reset button for 30 seconds while it is still turned on
2. Unplug the D-Link while still holding the reset button. Hold it for another 30 seconds
3. Plug it back in while still holding the reset button.

That should do it.

The default address of the D-Link is 192.168.0.50. You should statically set your IP to something like 192.168.0.51. So:

192.168.0.51
255.255.255.0
192.168.0.50
8.8.8.8

Then run the utility and you should be all set.

Alex Brinister
I tried to do this, but the configuration utility keeps putting a pop-up that says,
"Bridge configuration failed: Bridge login failed
Please reset the bridge and try again"
Then when I close the pop-up it keeps giving me the same message that I posted before.
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: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