View Single Post
  #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