Hi everyone! I’m still pretty new to FRC development and I would love to read your Java code for this year and any years past just to see how it’s been implemented practically. I’ve read theoretical examples from screensteps and such on topics like PID and vision but feel like it would help a lot to see some practical examples as well as understand any problems which arose and how they were solved. Thanks!
We use Command-Based programming paradigm.
Our Github is public. Enjoy.
We use timed robot or iterative. Here is our content: everything except the current year is public. https://github.com/RobotCasserole1736
We use Command-Based programming and have used RobotBuilder in the current year (2019). Our code goes way back, but I would only recommend using the last few years. Ask me if you have any questions.
Thanks for the link! I’m not sure if this a side effect of RobotBuilder, but it seems like a lot of the code in your subsystems is missing. What is your team’s workflow like using RobotBuilder? How are you able to get the code and function you want through autogeneration?
Thanks for sharing!
Thanks! I’ll definitely look into this.
Nope! The lack of code was due to me not merging branches often enough. The most up to date version of the code should be in the branch called Jonah. Here is a more specific link:
Also, Robotbuilder has helped the teams workflow as (basically) the sole programmer it helps to have that extra time when you would be instantiating variables. It does have its flaws and I was resistant at first but it has really helped me.
Robotbuilder basically makes a framework that I then populate with code that is more “Custom” it adds all the motors and sensors (not Sparks yet) into the Smartdashboard and Shuffleboard which is really nice. You just don’t mess in the commented sections where it says not to mess with and you’ll be OK.
Both the current team I mentor, MAGNATech, (https://github.com/frc3468/), and the team I was on in High School, Tiger Robotics, (https://github.com/frc3946) have our repositories as public. Feel free to look through them. They are gonna all be Command Based, and not necessarily the most clean or organized as I take a very hands off approach as a mentor. Offering suggestions and improvements rather than enforcing any strict requirements.
1540 has all our code, including this year’s, on our GitHub page.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.