How to make your program for autonomous more reliable?

We have written a python program for the autonomous, which can complete most steps with a 40% chance. What are good ways to improve its reliability besides PID? Thanks.

Hello, this is team 24658J

Something that works pretty well for us is to set the starting point of your code somewhere that you know you will be able to set your robot up there everytime (example being putting your robot on a line on the floor of the arena or next to a screw in the wall). Also make sure to not make your DT go too fast because it could lead to inconsistencies.

1 Like

Thanks for sharing your tips!

Another tip is to align to the field tiles, not the wall. The wall is always unreliable, as it sometimes is halfway off the field, or completely in. AND it can be offset different amounts in different parts of the field, meaning that it can’t be used for high goal consistency.

That is true. There are many random factors, like how far off the wall is from the field and how parallel they are. The program should have some self-correction mechanism to increase the error tolerance.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.