Skip to content

⏰ 2.0.0 - Library Time!

Compare
Choose a tag to compare
@ssejrog ssejrog released this 13 Dec 02:33
· 99 commits to main since this release

Note: upgrading only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.

This update of EZ-Template is a complete rewrite to allow us to update in the future, and allow users to update without starting a new project.

For download and installation instructions, documentation and tutorials, check our new website! https://ez-robotics.github.io/EZ-Template/


Download and Installation

  1. Download the latest example project here. Extract the zip, and open it in PROS.
  2. In src/main.cpp, configure drive and IMU ports to what they are on your robot. Be sure to read the comments!
  3. Configure your wheel size and cartrige. Remember that 4" omni wheels are actually 4.125!
  4. In src/main.cpp, at the bottom in void opcontrol(), decide how you'd like to control your robot! Any flavor of arcade or tank!
  5. Turn the robot on and use it in driver control. Make sure the ports are correct and reversed correctly!
  6. To test the test autonomous modes, plug into a competition switch and select the autonomous mode on the brain screen by pressing the left and right buttons! The current page will be the autonomous that runs. For making new autonomous routines, check src/autons.cpp for examples on how to use the drive functions.

Maintenance

  • Organized code with comments, namespaces and classes
  • Compiled library
  • New autonomous selector that is user friendly

Bug fixes

  • Fixed incorrect math with right slew
  • wait_until has a timeout

Added Feature

  • SD card saving for left/right curve, and auton page
  • "Tug of war" detection
  • Drive current limiting
  • LLEMU print wrapper that handles text overflow and \n
  • Right stick arcade
  • Holding buttons for modifying curves
  • Loading animation during IMU calibration.
  • 3 wire encoder support

Thanks to @HakopZ, @fishsticks89, @LiamCahill0714 and @Unionjackjz1 for helping with this release!