Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Robotbuilder not working (C++) (http://www.chiefdelphi.com/forums/showthread.php?t=141202)

powster 09-01-2016 17:21

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?

Joe Ross 09-01-2016 19:52

Re: Robotbuilder not working (C++)
 
1 Attachment(s)
The debug folder gets created when you build. Here's what the test robotbuilder project that I just created looks like.

althebaker43 09-01-2016 20:31

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.

Joe Ross 09-01-2016 21:25

Re: Robotbuilder not working (C++)
 
Quote:

Originally Posted by althebaker43 (Post 1519430)
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 (Post 1519430)
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.

powster 10-01-2016 13:20

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.

powster 10-01-2016 13:33

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?


All times are GMT -5. The time now is 22:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi