Releases: EZ-Robotics/EZ-Template
2.1.1 - Arcade Drive!
Note: upgrading only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.
Minor release that makes arcade control work.
For download and installation instructions, documentation and tutorials, check our website! https://ez-robotics.github.io/EZ-Template/
Download and Installation
- Download the latest example project below (
Example-Project.zip
). Extract the zip, and open it in PROS. - In
src/main.cpp
, configure drive and IMU ports to what they are on your robot. Be sure to read the comments! - Configure your wheel size and cartrige. Remember that 4" omni wheels are actually 4.125!
- In
src/main.cpp
, at the bottom invoid opcontrol()
, decide how you'd like to control your robot! Any flavor of arcade or tank! - Turn the robot on and use it in driver control. Make sure the ports are correct and reversed correctly!
- 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.
Upgrading
Note: this only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.
- Download the most recent EZ-Template below (
[email protected]
). - Move the file to your project.
- Open terminal or command prompt, and
cd
into your projects directory. - Run this command from terminal
prosv5 c fetch [email protected]
. - Apply the library to the project
prosv5 c apply EZ-Template
. - Put
#include "EZ-Template/api.hpp"
in yourinclude/main.h
.
Bug Fixes
- Fixed arcade control (#46)
2.1.0 - PIDs, PTOs and Bug Fixes!
Note: upgrading only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.
This is a feature release that includes PTO, PID and bug fixes.
For download and installation instructions, documentation and tutorials, check our website! https://ez-robotics.github.io/EZ-Template/
Download and Installation
- Download the latest example project below (
Example-Project.zip
). Extract the zip, and open it in PROS. - In
src/main.cpp
, configure drive and IMU ports to what they are on your robot. Be sure to read the comments! - Configure your wheel size and cartrige. Remember that 4" omni wheels are actually 4.125!
- In
src/main.cpp
, at the bottom invoid opcontrol()
, decide how you'd like to control your robot! Any flavor of arcade or tank! - Turn the robot on and use it in driver control. Make sure the ports are correct and reversed correctly!
- 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.
Upgrading
Note: this only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.
- Download the most recent EZ-Template below (
[email protected]
). - In your terminal,
cd
into the directory you downloaded the file. - Run this command from terminal
prosv5 c fetch [email protected]
. cd
into your pros project directory in your terminal.- Apply the library to the project
prosv5 c apply EZ-Template
. - Put
#include "EZ-Template/api.hpp"
in yourinclude/main.h
.
Features
- PTO support (#12)
- Smart encoder support (#28)
- Toggles for autonomous
printf
and set drive (#36) - Limit switch control for selecting autonomous modes (#34)
- Wait functions to PID (#33)
reset_pid_targets()
to reset all targets (#37)- Function to
get
andset
drive mode (#38)
Bug Fixes
set_exit_condition()
now accepts doubles (#30)set_max_speed()
now sets max speed (#35)- Hardcoded speed limits for swings and turns are now not hardcoded (#39)
- IMU loading animation is more consistent (#40)
- Slew math is now correct (#41)
- Fixed edge case in
print_to_screen()
(#43) - The last line of the LCD now clears (#44)
Maintenance
Thanks to @HakopZ, @Unionjackjz1 for helping with this release!
2.0.1 - Fixed Setting Constants
Note: upgrading only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.
This minor update of EZ-Template includes a fix to set_pid_constants()
.
For download and installation instructions, documentation and tutorials, check our new website! https://ez-robotics.github.io/EZ-Template/
Download and Installation
- Download the latest example project here. Extract the zip, and open it in PROS.
- In
src/main.cpp
, configure drive and IMU ports to what they are on your robot. Be sure to read the comments! - Configure your wheel size and cartrige. Remember that 4" omni wheels are actually 4.125!
- In
src/main.cpp
, at the bottom invoid opcontrol()
, decide how you'd like to control your robot! Any flavor of arcade or tank! - Turn the robot on and use it in driver control. Make sure the ports are correct and reversed correctly!
- 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.
Upgrading
Note: this only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.
- Download the most recent EZ-Template below ([email protected]).
- In your terminal,
cd
into the directory you downloaded the file. - Run this command from terminal
prosv5 c fetch [email protected]
. cd
into your pros project directory in your terminal.- Apply the library to the project
prosv5 c apply EZ-Template
. - Put
#include "EZ-Template/api.hpp"
in yourinclude/main.h
.
Bug fixes
- Fixed
set_pid_constants()
(#29)
⏰ 2.0.0 - Library Time!
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
- Download the latest example project here. Extract the zip, and open it in PROS.
- In
src/main.cpp
, configure drive and IMU ports to what they are on your robot. Be sure to read the comments! - Configure your wheel size and cartrige. Remember that 4" omni wheels are actually 4.125!
- In
src/main.cpp
, at the bottom invoid opcontrol()
, decide how you'd like to control your robot! Any flavor of arcade or tank! - Turn the robot on and use it in driver control. Make sure the ports are correct and reversed correctly!
- 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!
v1.0.2
v1.0.1
Added
OkapiLib
Renamed GYRO_PORT
to IMU_PORT
in setup.hpp
You can hold the controller buttons to increase/decrease curve
DELAY_TIME
in include/EZ-Template/sethup.hpp
Dropdowns in readme
Autonomous tutorial
Green Emulated LCD
Spaces
Removed
Pink Emulated LCD
Tabs
First Release
Warning
This version of EZ-Template uses a unique PROS kernel that makes the emulated LCD pink instead of green. Using this with hot/cold linking enabled (it is by default) could possible delete other PROS projects in other slots on your brain.
To disable hot/cold linking, open your Makefile
and change USE_PACKAGE:=1
to USE_PACKAGE:=0
. Doing this will make wireless downloading slower.