Publishing code

It’s the season for R303 code publicizing!

If your team uses pre-season code, you should post about it!

Don’t just disclose, say what’s great about what you do!

CD is full of people who would love to hear about it, and there are lots of teams who would love to learn from you!

As an example, the Team 100 library. Some highlights:

Some of these ideas were adapted from 254’s 2022/23 code, and some from WPILib, so they should look familiar if you know those.

If anyone finds any of this useful, or if you have any questions about it, please let me know!

5 Likes

Thanks for sharing.

How do you have your “studies” setup to be able to access your library code and still have intellisense working? I was able to do something similar and get code compiling but intellisense was never ever to properly find the library files. I was looking through your gradle and config files but didn’t see anything obvious that fixes this.

vscode has a feature called “workspace” that allows you to open two folders at once. so from your “study” project you click “add folder to workspace” and choose the “lib” folder. then you’ll want to “save workspace” in your study directory.

you can see an example of the resulting “workspace” file here: