Loving the Romi so far! Shout out to all of those involved in making it happen and continuing to improve the software. With our robot stuck in our workshop and the school closed I have found it essential to being able to test code. To be honest our team has always had issues not being able to test code outside of school hours, meaning we waste our precious build time in school debugging trivial code problems. I’m confident we’ll be using the Romi for years.
I was able to put together a few examples on my own after reading through some of the examples our awesome WPILib project collaborators have put together https://github.com/wpilibsuite/allwpilib/tree/master/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/romireference:
- Some basic commands using drivetrain with/without encoders
- Using the gyro to turn a specific number of degrees
- Adding PID on top of it to turn an exact angle and have experimented with driving straight with gyro angle correction using PID.
The examples I put together and tested are on my Github repo for anyone that is interested: GitHub - michaellee1019/FRC7272-Romi-Examples. I’m planning on adding some more commits with code comments and documentation when time permits.