Comments (6)
If you delete the source file for the empty command, does it then generate correctly?
from robotbuilder.
Yes, I was able to get the file to create when I deleted the other files. I can see that the command in question (ShootSingleBall) does not get the .cpp file updated, the timestamp is older. But the .cpp~, .h, and .h~ files do get new modified timestamps. Is this a file locking problem perhaps where RobotBuilder cannot get write access? It seems odd because this worked many many times in recent days.
from robotbuilder.
I am going to try a new eclipse/WPI lib install and see if it works then.
from robotbuilder.
I finally recreated this and found the issue. If you have a parameter preset starting with a number, the generate code hangs/fails with no error messages. In this case, I had "10ft" as a preset, and changed it to TenFt and the code generated fine.
Do you think it would be possible to add validation to these fields or at least an error message when generating code? Could prevent other people from banging their heads against the wall here. I am SW Dev so I don't mind chasing down bugs :-).
from robotbuilder.
It appears there is already code to handle this condition, I wonder why it didn't work.
from robotbuilder.
Thanks for working on this! I'll be sure to put RBuilder through its paces next week... :-)
from robotbuilder.
Related Issues (20)
- Instant commands have problems HOT 3
- Commands do not support subsystem injection unless required HOT 3
- C++ - XBoxController button constants don't export correctly
- C++ XBoxController button export still wrong HOT 1
- C++ Removing a required subsystem overwrites the entire command file HOT 3
- C+ Subsystem includes inserted in RobotContainer.h twice
- C++ RobotBuilder adds extra lines VS Code removes whitespace HOT 7
- Java SpeedControllerGroup declared twice
- Improve type detection
- Double Solenoid object reassigns the object type in the constructor.
- DoubleSolenoid doesn't auto increment reverse solenoid HOT 1
- XBox button names don't match WPILib
- Update to Gradle 7.3.3 in RB
- Double Solenoid Dose Not import new PneumaticsModuleType
- Robotbuilder drive code example crashes HOT 1
- Robot Builders automated SmartDashboard buttons HOT 4
- C++ compile errors when AutonomousCommand set to None HOT 1
- Discussion: Extensions vs Hardcoded for WPI components. HOT 3
- New feature request add POV button to OI
- Robotbuilder doesn't account for MXP DIO / PWM sharing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotbuilder.