Go to Post The goal isn't to keep the "bad" kids out. The goal is to take the "bad" out of kids, thereby transforming OUR culture. - Michael Corsetto [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 22-01-2015, 15:07
s-taylor s-taylor is offline
Scott Taylor
FRC #1735 (Green Reapers)
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Auburn, MA
Posts: 22
s-taylor has a spectacular aura abouts-taylor has a spectacular aura about
Importing 2014 RobotBuilder and (Java) program into 2015 toolchain

Has anyone successfully imported RobotBuilder and/or generated (Java) collateral from last year into this year's tools?

I used RobotBuilder v1.0 last year, and the new (v1.5) version refuses to load the yaml file. I'm wondering if anyone has figured out the right set of translations in the yaml to port the content.

Similarly for the generated JAVA code, I tried copying last year's folder into my Eclipse workspace and doing an import (Just as I have done for this year's project) but it isn't recognized as an available project to import. I'm not terribly surprised by this, but I would really love to be able to pull up code examples from last year in Eclipse to have students compare against for style/content. Maintaining parallel NetBeans and Eclipse windows is the obvious fallback, but it would be nice to have it all in one tool.

Thanks for any suggestions or pointers!
-Scott
  #2   Spotlight this post!  
Unread 22-01-2015, 15:44
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Importing 2014 RobotBuilder and (Java) program into 2015 toolchain

I think we fell back to creating a new robot project in eclipse, then copying over the individual have files to the new project. A bit of a pain, and it'll give you a bunch of compilation errors due to small changes in the libraries, but those can be overcome pretty easily.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #3   Spotlight this post!  
Unread 22-01-2015, 17:30
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Importing 2014 RobotBuilder and (Java) program into 2015 toolchain

Depending on how complicated your Robot Builder file is, you may be able to just change the version number at the top of the yml file. I was able to do this for a simple project. This didn't work for our 2014 project, however as robot builder would crash.

We used the same process as Jon for eclipse. It didn't take long to get everything to compile.
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 02:39.

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