Much in the likeness of wpilib and pathfinder, I would like to know what people though about SnobotSim, and how to bring it forward along with prioritizing the things that should get pushed into wpilib.
This was the first year that we put it out into the wild, so I’m sure that anyone who used it had problems setting it up o some other beefs with the program. If you are in the “I didn’t know this existed” group, you can check out the announcment post.
If possible, please limit things here to SnobotSim improvements. I think that anything related to simulation in general should be put in the wpilib thread / github issues so that team can track it from there.
I tried it out with an eclipse-based Java project sometime in the middle of the season, but I wasn’t able to get it to work because of missing artifacts or something like that. Presumably the probability of that issue will go away if using gradle in the future.
Yeah, I added that in last minute before kickoff, “just in case”. Turns out like N-3 people used that instead, so it had its bugs. Should no longer be an issue.
No idea what I’m doing with this, the instructions are not clear. I followed instructions for GradleRIO up to step 4, and didn’t know how to continue.
Running the project as a java application only gives these errors:
Exception in thread “main” java.lang.Error: Unresolved compilation problems:
DefaultDataAccessorFactory cannot be resolved
Simulator cannot be resolved to a type
Simulator cannot be resolved to a type
The method parseLogLevel(Collection<String>) from the type Main refers to the missing type SnobotLogLevel
Logger cannot be resolved to a type
Level cannot be resolved to a variable
Logger cannot be resolved to a type
Level cannot be resolved to a variable
Logger cannot be resolved to a type
Level cannot be resolved to a variable
Attempting to simulate results in this:
What went wrong:
Execution failed for task ‘:simulate’.
> Configuration with name ‘snobotSimLibs’ not found.
I never got the Gradle plugin working with simulations from the command line. It’s on the list of things to update. Right now you have to run it from an ide (tested with eclipse)