Replay Robot Movements

I’ve been working to get something like this working for a while, and now it’s working for the most part. This project records values at set intervals and saves them to the SD card and/or to the USB serial connection. I designed it to be easily modifiable to allow for many different configurations of robots.

It’s pretty accurate for a few seconds, but the longer it goes, the less accurate it is. I tried to make it as efficient and the timings as accurate as possible, so it’s more consistent. If anyone has any suggestions on making it more consistent, I’d love to hear them. I’d like to implement encoder values, PID, and things like that, but idk how that would work.

I’ve modified it a little bit since I’ve last used it in order to share it, and don’t currently have access to a robot right now, but it should work fine.

Here’s the link:

Me and my friend attempted to make this once, but we never got too far. Thanks for sharing!

Neat, I did something like this a while back. I quickly learned that this is impractical for an accurate auton.