Go to Post Use checklists. If it's good enough for NASA, it's good enough for FIRST. - Rick TYler [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-01-2015, 20:24
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 192
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Porting code to 2015, Error with generated robot builder code

Sorry for just posting a bunch of threads recently, but with the 2015 season upon us, I have run into some issues.

I set up Eclipse for C++ and have everything setup. So, i tried to create a robot builder project from the Eclipse plugin that launches it for you. I made a basic driveBase project with commands and imported it into Eclipse fine. However, the problem is that the generated code without any changes does not compile. I've looked through most of the files and most errors are something like this:

The type 'Joystick' must implement the inherited pure virtual method 'GenericHID::GetRawAxis'

As well as a couple other errors. Is robot builder not up to date with the roboRIO? Are there any other things I should look into when porting code from 2014 to 2015?

Thanks,
Drew
Reply With Quote
  #2   Spotlight this post!  
Unread 03-01-2015, 20:32
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 987
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Porting code to 2015, Error with generated robot builder code

What happens if you re-build the project index as shown in the Rebuilding the Index step here: http://wpilib.screenstepslive.com/s/...p-test-program
Reply With Quote
  #3   Spotlight this post!  
Unread 03-01-2015, 20:41
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 192
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Porting code to 2015, Error with generated robot builder code

Thanks so much! I must have missed that step! Good luck for the 2015 season!
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 02:43.

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