Go to Post just remember, with power comes responsibility. - Mike Ciance [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 29-04-2011, 01:33
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Deploying Code from 2nd Laptop

Hello all,
I am the head programer for our team and was looking for a faster way to deploy code (JAVA +netbeans) onto our robot. Atm I do all the coding on my macbook pro (win7 also on it) then transferring the files over to the classmate via flash-drive and deploying from netbeans on the classmate, since it is hooked up to the robot via wifi.

Now my question is there away to hook the robot via ethernet to my mbp, and delopy code from netbeans WHILE keeping the wifi on and connected to an network so I get internet for svn etc.

I prefer to code on my laptop since of speed and usability but don't want to waste time with loading netbeans on the classmate, which would be JUST for running the driver software connected to robot wifi.

In addition was also possibly looking at FTP as away to deploy.

Any suggestions or thoughts would be appreciated.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #2   Spotlight this post!  
Unread 29-04-2011, 02:01
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
Re: Deploying Code from 2nd Laptop

Yeah, this should be easy.

I'm not sure exactly what you are requesting though, or what you have problems with. Code can be deployed from any computer with the Netbeans FRC plugin. You just have to get the computer on the same network as the robot. Connect them somehow (wired or wirelessly to the robot radio), and set the computer's IP to 10.XX.YY.x, where XX.YY is your team number.

I'm not sure what items you want on wifi, what you want wired, but I am glad to help.
  #3   Spotlight this post!  
Unread 29-04-2011, 03:07
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Deploying Code from 2nd Laptop

Quote:
Originally Posted by Mk.32 View Post
Now my question is there away to hook the robot via ethernet to my mbp, and delopy code from netbeans WHILE keeping the wifi on and connected to an network so I get internet for svn etc.
So your classmate is connected to the robot over wifi, and your laptop connected to another wifi network for internet?

You could try connecting the programming laptop to the classmate over ethernet.

On the classmate (running windows 7):
Code:
Log into the developer account
Click on the network indicator (lower right side of the screen)
Click "Open Network and Sharing Center"
Click "Change Adapter Settings" in the left hand panel
Highlight both ethernet (May be called "Local Area Connection") and Wifi adapter
Right click - then click bridge connections
On your laptop (Windows 7 instructions, should be similar on MAC):
Code:
Log into Your account
Click on the network indicator (lower right side of the screen)
Click "Open Network and Sharing Center"
Click "Change Adapter Settings" in the left hand panel
Right click on your Ethernet adapter (Local Area Connection)
Click properties
Click "Internet Protocol Version 4 (TCP/IPv4)"
Click "Properties"
Click "Use the following IP address:"
       10.xx.yy.12 
       255.255.255.0
Leave the other fields blank
Click OK
Now connect the 2 via ethernet.

If You followed the steps correctly, and assuming I wrote the steps correctly, your laptop should be able to program the robot and still be able to use the internet.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!

Last edited by biojae : 29-04-2011 at 03:10. Reason: Typo
  #4   Spotlight this post!  
Unread 29-04-2011, 07:41
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: Deploying Code from 2nd Laptop

Quote:
Originally Posted by Mk.32 View Post
Hello all,
I am the head programer for our team and was looking for a faster way to deploy code (JAVA +netbeans) onto our robot. Atm I do all the coding on my macbook pro (win7 also on it) then transferring the files over to the classmate via flash-drive and deploying from netbeans on the classmate, since it is hooked up to the robot via wifi.

Now my question is there away to hook the robot via ethernet to my mbp, and delopy code from netbeans WHILE keeping the wifi on and connected to an network so I get internet for svn etc.

I prefer to code on my laptop since of speed and usability but don't want to waste time with loading netbeans on the classmate, which would be JUST for running the driver software connected to robot wifi.

In addition was also possibly looking at FTP as away to deploy.

Any suggestions or thoughts would be appreciated.
As stated before, you can connect either wirelessly or with a wire, but either way, you just need to set the static ip address on the connection you are using to 10.xx.yy.12. If you are using wifi, you would need to be on the same network as your robot.

In your case, you could connect an ethernet cable from your computer to the DAP-1522 on the robot. After setting the static ip address as 10.xx.yy.12, you should be able to download code to robot. At the same time you should be able to use your wifi connection to connect to whatever wifi network you choose, but be sure to use DCHP to set your ip (in widows this is tagged as "choose network ip address automatically) and not a static ip address.

You should be able to download code to the robot and access the internet as normal in this configuration.
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
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 01:04.

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