Right now were using the jar template to code our robot, for most of the season we’ve been using a single inertia sensor and it worked well enough, recently for worlds we’ve decided to add a forward and sideways Odom pods, I’ve been doing the tuning and when it drives forward its fine, but when it turns it doesn’t stop.
2 Likes
Could you send your code? Or a video?
Here’s the code
as for video i dont currently have one but its just going forward is fine but when it reaches the turn part it just spins in the direction of the turn
Right now, your odom mode is set to ZERO TRACKER ODOM which isn’t what youre trying to do. But that wouldn’t mess up the turning.
Double check that your inertial sensor is plugged into port 18 and check that it reports the heading using the devices menu on the brain screen.
figured it out, in pre auto I had it reset the imu, and Odom, so I just deleted it and it worked fine, although if you do have any tips for tuning or getting it to chain better or quicker, let me know, thanks.