Go to Post "I have cut this piece 4 times and it is still too short!" - Betty_Krocker [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 20-01-2013, 12:19
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Robot Builder C++ bug

When re-generating C++ code, newly added subsystems and components are not added to Robot.cpp. The bug is caused by a typo in "export/cpp/files.yaml":

Code:
--- resources/export/cpp/files.yaml	(revision 619)
+++ resources/export/cpp/files.yaml	(working copy)
@@ -27,7 +27,7 @@
   modifications:
     autonomous: ${exporter-path}CommandBasedRobot-autonomous.cpp
     constructors: ${exporter-path}CommandBasedRobot-constructors.cpp
-    initializanion: ${exporter-path}CommandBasedRobot-initialization.cpp
+    initialization: ${exporter-path}CommandBasedRobot-initialization.cpp
You can work around the problem by manually editing the initialization section of your Robot.cpp and changing "ID=INITIALIZATION" to "ID=INITIALIZANION". Or if you haven't made any changes to Robot.cpp, you can delete it and let Robot Builder generate it from scratch. The bug only happens when updating it.

The tracker at FIRST Forge doesn't seem open for bug reports, so I hope the right people see it here.
  #2   Spotlight this post!  
Unread 20-01-2013, 12:31
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
I've been reporting robot builder bugs to the wpilib project, since I couldn't report them in the robot builder project.
  #3   Spotlight this post!  
Unread 20-01-2013, 20:02
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Re: Robot Builder C++ bug

Quote:
Originally Posted by Joe Ross View Post
I've been reporting robot builder bugs to the wpilib project, since I couldn't report them in the robot builder project.
The WPILib project on FIRST Forge seems dead. I can't see any recent commits in the SVN repo. The Robot Builder project seems active, but it doesn't have an open bug tracker.
  #4   Spotlight this post!  
Unread 20-01-2013, 21:36
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: Robot Builder C++ bug

Quote:
Originally Posted by kenfox View Post
The WPILib project on FIRST Forge seems dead. I can't see any recent commits in the SVN repo. The Robot Builder project seems active, but it doesn't have an open bug tracker.
While the SVN hasn't been updated for several years, the WPILib project is still active. That is where the file updates are posted. The tracker is also active.l For example, in the Java tracker, there were 5 bugs closed in the last month.
  #5   Spotlight this post!  
Unread 21-01-2013, 08:59
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Re: Robot Builder C++ bug

Quote:
Originally Posted by Joe Ross View Post
While the SVN hasn't been updated for several years, the WPILib project is still active.
Thanks, I see that WPILib has categories for all the languages and utilities. I'm now the proud creator of Artifact artf1597.
  #6   Spotlight this post!  
Unread 21-01-2013, 19:58
alexhenning alexhenning is offline
WPILib Developer
FRC #0348
 
Join Date: Apr 2010
Rookie Year: 2003
Location: MA
Posts: 49
alexhenning will become famous soon enough
Re: Robot Builder C++ bug

Thanks for the patch! I've included it in RobotBuilder. You can download it from firstforge, it's r620. The fix will show up in the next update.

Additionally, I've added a tracker for RobotBuilder into the WPILib project and added a link on the home page of the RobotBuilder project. Hopefully, this is much clearer for people trying to report bugs.
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:15.

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