What is the worst way to program autonomous

Me and my teammate are having an argument over what the best way to code autonomous is and I think it is PID and for some reason he thinks time is the best what do you guys think( I made this to prove to my teammates that time is the worst)

2 Likes

Anything but time.

2 Likes

Time is the wrost way but is there anything even worse?

2 Likes

Time should only be used for aligning with walls and parking

2 Likes

For a more serious answer, I use encoders, but PID works if you know how to use it. (I don’t)

2 Likes

You could measure by rounding to the nearest 10,000 rotations and would always travel a distance of 0 because how rounding works, that would be worse.

6 Likes

Unless you want to travel really far. Then it works great.

2 Likes

using vex coding studio.

7 Likes

When you say you use encoders but not pid do you mean you use v5 built-in pid.

We use a combination of a gyro and encoders. It works great but is hard to set up. But really anything is better than time

2 Likes

You just have to measure the field in time. Then using time works perfectly. (Don’t think about it or it might not make sense.)

3 Likes

Time is fine if you don’t want your auton to work

3 Likes

what does PID mean?:grinning::grinning::grinning::grinning:

Its stand for Proportion-Integral-Derivative control. It is a type of control that can move your robot to to a certain distance precisely and quickly. However, often times, not all terms are needed(You can get away with just proportion).

1 Like

Time is fine if you have the robot move at like 50% max speed. But simple P-loop or PID will make your robot much more consistent in auto. As these actively slow down your robot as you get to target, you dont have wheel slippage, so you can go faster. Thus maker it better.

proportional integral derivative

you should also check out pros 2d motion profiling, its lit.

1 Like

Time is terribly inaccurate and never works. Use sensors.

4 Likes

Not having a specific starting position in the tile, so that your robot is angled in different places each time you set it down. A recipe for ‘random’ outcomes based on slightly ‘random’ starting positions.

2 Likes

I agree that time often doesn’t work, especially with V4. I will say this, though. Earlier in the season, I had an autonomous that used only time. It was the most consistent auton I’ve ever made and won think award. Just sayin’ it works (sometimes). :grin:

1 Like