I am currently programming autonomous skills and don’t know which one is better
Definitely 300 mm. Telling your code a distance allows you to make physical measurements when coding and will end up being more accurate because the robot will run until it reaches 300mm. Time based coding can be messed up by field objects or varying battery level.
4 Likes
The distance would be much better, because depending on friction of the field tiles or other factors, 2 seconds on one field at one time can be a VERY different distance from 2 seconds on a different field at a different time.
4 Likes
Distance version of auton will be more accurate. If your motors overheat or there is an obstacle, the robot will still make it to its accurate spot. If it is codded by time then if the motors are overheating per se, the robot will not travel as far.