Just to be extra safe, here is our code from last year as well as offseason projects.
Last year’s code: frc-2019
A rewrite of last year’s code, featuring some WPILib 2020 things (it’s on the develop branch): frc-2019-rewrite
We made a submodule for shared classes that our code will use (most of everything is on the develop branch here too): WarlordsLib
C_MacC
January 2, 2020, 4:27pm
24
Dkt01
January 2, 2020, 8:53pm
26
Because I’m too lazy to make a separate post, here’s our 2019 robot code release (and online LabVIEW docs ).
Nessie
January 2, 2020, 9:29pm
27
Our public resources can be found here: https://2702rebels.com/media/cad-code/
(It’s just our 2019 code at this time.)
krf
January 2, 2020, 10:38pm
28
Team 1257’s 2020 Pre-Season CAD Practice / Designs . All of our code is avalible on our GitHub as well, and is open by default throughout the season.
Our code has been public for a while but here is our 2019 code as well as some of our offseason work:
1 Like
4265 2019 Season CAD
Here is every file from 4265 last year. Apologies for the clutter. If you need help finding anything email [email protected]
Amicus1
January 3, 2020, 12:14am
31
FRC 7890 SeQuEnCe 2019:
Only way we got it to work was to put everything except the drivetrain into one command and one subsystem - looking to understand Java better and use the framework the right way in 2020. Appreciate CD and all of the posts that help us learn!
1 Like
Team RUSH’s 2019 Competition and off-season code:
Highlight:
frcconf
(working title) was developed this offseason to significantly reduce deployment times when all you’re changing are configuration values. Current plan is to release it on jitpack in a more polished state this build season.
Example implementation - RobotMap is written, and ConfiguredRobotMap is generated and then can be used by ConfigLoader. It gets picked up in the deployment process, so no need to copy it from the build/generated folder into your source code.
ConfigLoader.java
package com.swervedrivespecialties.exampleswerve.config;
import edu.wpi.first.networktables.PersistentException;
public class ConfigLoader {
private RobotMap robotMapInstance;
public RobotMap loadRobotMap() throws PersistentException {
if (robotMapInstance == null) {
robotMapInstance = new ConfiguredRobotMap("/Map", "/home/lvuser/deploy/map.ini");
This file has been truncated. show original
ConfiguredRobotMap.java
package com.swervedrivespecialties.exampleswerve.config;
import edu.wpi.first.networktables.NetworkTableInstance;
import edu.wpi.first.networktables.PersistentException;
import java.lang.String;
public class ConfiguredRobotMap extends RobotMap {
String root;
String file;
This file has been truncated. show original
RobotMap.java
package com.swervedrivespecialties.exampleswerve.config;
import frcconf.Configurable;
@Configurable
public class RobotMap {
public SwerveModuleMap FRONT_LEFT = new SwerveModuleMap();
public SwerveModuleMap FRONT_RIGHT = new SwerveModuleMap();
public SwerveModuleMap BACK_LEFT = new SwerveModuleMap();
public SwerveModuleMap BACK_RIGHT = new SwerveModuleMap();
This file has been truncated. show original
3 Likes
103’s Code:
103’s CAD:
https://cad.onshape.com/documents/3edbb1db31c134c20d48149c/w/7e29e2d4b5963c030bc7da79/e/0ddc0a47c5c49169ebd784b4
We haven’t modeled anything for this year yet, but anyone with this link will be able to see our progress.
Here is CHAOS 131’s thread:
Our CAD lead has shared SolidWorks files for the robot modules we designed during pre-season training. We also plan to share Drivetrain chassis files (a tweak from the version we posted last year) before kickoff.
Good luck to everyone!
https://grabcad.com/shaylie.lagasse-1
4130 public code for our 2019 comp robot Pressurise.
PeterR
January 3, 2020, 7:04pm
38
4783 has posted a new frame design on GrabCAD. See link below.
https://grabcad.com/library/extremely-modular-frame-1
roborb
January 3, 2020, 8:30pm
40
Team 6880’s public code repository:
1 Like