Router

Today in Code Team - January 11, 2025

Your semi-regularly updated blog from the code team.

Overview After ongoing issues with the Kotlin language server (which appears to be unmaintained), Drake made the decision to switch the robot code back to Java. The team spent time converting the existing Kotlin code and adapting to Java. While waiting for the chassis, Drake implemented button mapping and control code for driving the robot. A subsystem manager was briefly explored but ultimately deemed too complex for our needs. When the test chassis was ready, we deployed the code and attempted to drive it. The drive motors exhibited erratic behavior (spasming) while the turn motors remained unresponsive. We suspect issues with the feedback sensors for the turn motors, likely due to significant API changes in the 2025 update.

Code · Drive · Frc · Router · Vision

Drake

1 minute

Today in Code Team - January 10, 2025

Your semi-regularly updated blog from the code team.

Overview Drake, Ethan, and Sean researched and fixed all the API changes. They added some comments to document this. “I really wish they documented better but I think all the code has been updated correctly, however, it still needs testing.” –Drake They got the code down to 4 issues but after an hour of debugging it seems to be a problem where the Kotlin Unit library is overwriting the WPILib Unit library. Drake’s going to try getting help on the Kotlin discord to get help as he assumes it’s a common problem. After this is fixed, we should have working code. Sean and Ethan also researched YAGSL and how to configure the robot.

Code · Drive · Frc · Router · Vision

Lincoln

1 minute

Today in Code Team - January 8, 2025

Your semi-regularly updated blog from the code team.

Overview Drake and the robot team in set up the 2025 robot project in Kotlin FRC extension after using WPILib to create the project. The FRC Kotlin extension caused some headaches since it was designed for 2024, but we fixed it by updating configurations and Gradle settings. Vendor dependencies like YAGSL and REVLib were set up, and we began structuring the robot code. Vendor Dependencie’s API changes remain an issue for next time.

Code · Drive · Frc · Router · Vision

Drake

1 minute

Today in Code Team - January 6, 2025

Your semi-regularly updated blog from the code team.

Overview So we’re going to do a blog post every (meeting) day this year, summarizing our accomplishments and mistakes. Drake helped everyone on robot code get WPILib 2025 installed, which took forever over the school’s WiFi connection. In the meantime, the rookies learned kotlin which is what we are going to program for the robot. Here’s Sean’s Kotlin notes: Chloe flashed a fresh image onto a Pi 5 for vision testing. She also started learning Linux.

Code · Drive · Frc · Router · Vision

Lincoln

1 minute