EZ-Robotics / EZ-Template

Simple plug-and-play PROS template that handles drive base functions for VEX robots.
https://ez-robotics.github.io/EZ-Template/
Mozilla Public License 2.0
70 stars 27 forks source link

✨[FEATURE] - Add generic odom functions #154

Open ssejrog opened 1 month ago

ssejrog commented 1 month ago

Currently the odom functions only support specific motions. You have to decide between ptp, injected, smooth, or boomerang. There should be a single function that handles all of this, pid_odom_set(). If you input multiple points, it'll run smooth pure pursuit. If you only give 1 point, it'll run injected pure pursuit. 1 point and an angle? Boomerang.