Go to Post Not only does Dave like to post hints about the the new game...but now he's starting to post hints about the activities of the Mars rover. Does it ever stop?! - Alexa Stott [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-09-2015, 06:54 PM
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Deploying Code/Connection Problems

Hey everyone. There is actually 2 separate issues here.

We are having a few different problems when trying to deploy code to the roboRIO.

The first issue we are having, is that Eclipse will suddenly "forget" (for lack of a better term) how to deploy code. We have been using one laptop, and it worked one day. Right click on the project > Run as > WPILib C++ Deploy.

That worked great, once or twice. Then we would change a few things, build the program, and attempt to download the code again. However, this time, the option for WPILib C++ Deploy is gone. The only option is "Run Configurations...". On another computer, it went from saying WPILib C++ Deploy, to WPILib Java Deploy. We can't figure out how to bring them back, without uninstalling and reinstalling Eclipse.

A separate issue we have, is connecting to the roboRIO:
At one point, about 5 days ago, I was able to connect to the roboRIO over USB, image it, and deploy code. We could then open the Driver Station, and test the code, it worked perfectly. We configured the wireless router, was able to connect wirelessly, and it still worked.

Then today, we tried to connect to it, to configure the CAN. I connected over USB, went to http://172.22.11.2/ and everything worked perfectly. Then I was able to successfully build and compile the code for CANTalons. But when I tried to deploy it, (still over USB), nothing happened, Eclipse wouldn't progress past this message:

Code:
Buildfile: C:\Users\MatthewBrown\workspace2\CAN Talon SRX\build.xml
Trying to override old definition of task classloader
get-target-ip:
     [echo] Trying Target: roboRIO-1771.local
We tried a different computer, one that has previously been able to deploy code over USB, and received an error message, saying it couldn't find any valid roboRIO targets, over USB or Wirelessly. (I don't know the exact error message, but it was very similar to that).
However, I know the computer can see the roboRIO, because it found it on the imaging tool! The team number is correctly set in Eclipse.

So we tried connecting to it wirelessly, and deploy code, and had the same error message.

It's very frustrating, especially because we were able to previously deploy code.

If anyone has any idea, that'd be great. Thanks!
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
Reply With Quote
 


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 09:55 AM.

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