Go to Post As long as teams keep showing their consistency in innovation, FIRST will keep dazzling us all. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 09-01-2016, 17:21
powster powster is offline
Registered User
FRC #1148
Team Role: Leadership
 
Join Date: Jan 2016
Rookie Year: 2013
Location: LA
Posts: 19
powster is an unknown quantity at this point
Robotbuilder not working (C++)

I reinstalled Mars Eclipse and installed all the plugins and updated the C++ toolchain. When I try to make a new project in RobotBuilder and open it in Eclipse, the project is missing the Includes and Debug folders. When I make a new WPIlib Robot project, those folders are there and the project builds and works perfectly. But the Robot builder project can't build anything and is not working at all, and I'd like to use it. I've already tried reinstalling Robot Builder and updating everything and I'm not sure why it still isn't working! Any thoughts?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2016, 19:52
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,565
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: Robotbuilder not working (C++)

The debug folder gets created when you build. Here's what the test robotbuilder project that I just created looks like.
Attached Thumbnails
Click image for larger version

Name:	RBProject.PNG
Views:	25
Size:	28.6 KB
ID:	19686  
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2016, 20:31
althebaker43 althebaker43 is offline
Registered User
FRC #2135
 
Join Date: Jan 2015
Location: San Jose
Posts: 3
althebaker43 is an unknown quantity at this point
Re: Robotbuilder not working (C++)

I've also had some issues. When overwriting a previously-made project, the RobotMap class was missing from the header file and joysticks were missing from the OI header and sources. When making a brand new project, RobotBuilder would freeze up when generating sources if a subsystem had a default command set.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2016, 21:25
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,565
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: Robotbuilder not working (C++)

Quote:
Originally Posted by althebaker43 View Post
I've also had some issues. When overwriting a previously-made project, the RobotMap class was missing from the header file and joysticks were missing from the OI header and sources.
There were enough changes in Robot Builder that I wouldn't expect it to export over an existing project.

Quote:
Originally Posted by althebaker43 View Post
When making a brand new project, RobotBuilder would freeze up when generating sources if a subsystem had a default command set.
I've duplicated this, and submitted a patch for review. Edit: This only happens for commands without parameters.

Last edited by Joe Ross : 10-01-2016 at 14:24.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2016, 13:20
powster powster is offline
Registered User
FRC #1148
Team Role: Leadership
 
Join Date: Jan 2016
Rookie Year: 2013
Location: LA
Posts: 19
powster is an unknown quantity at this point
Re: Robotbuilder not working (C++)

Yes, I've also had that freezing problem and the robotbuilder OI class is completely empty and missing joysticks too. My RobotMap class is also missing (though the header file was created) and when I write the RobotMap class code, none of it is recognized/seems to be supported.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2016, 13:33
powster powster is offline
Registered User
FRC #1148
Team Role: Leadership
 
Join Date: Jan 2016
Rookie Year: 2013
Location: LA
Posts: 19
powster is an unknown quantity at this point
Re: Robotbuilder not working (C++)

I just found a way to work around this Robotbuilder issue. I created a New Robot Project through Eclipse New Other Project and then selected WPIlib example Robot. Then I deleted its source code but kept the base. Then I made a Robotbuilder project and set it to modify that project and then exported the new source code. That finally seemed to make a working robot project and it has the OI and RobotMap class. Hopefully FRC will release an update that fixes these issues so I don't have to use such a roundabout way to write code.

EDIT: When I go back to robot builder to add more, it overrides the code I have and instead of editing it creates a whole new copy of it which is incredibly not ideal... Any ideas?

Last edited by powster : 10-01-2016 at 13:57.
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 22:36.

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