Most Effective Way To Keep Robot On Track During Auton

So our robotics organization is in our second year and quite inexperienced. Our team sees how important skills runs are. We noticed during Auton skills, due to inconsistent interactions with the tribals into the goal, some type of movement tracking would be necessary to have an effective and consistent autonomous, especially in skills. We don’t have any axle encoder, and odometery is a bit above our skill level for coding seeing as we are still using Block Code. Would inertial sensors be the most effective for this? Or is there more of a consistent and simple way.

Thanks,
15800A

Sure. Inertial sensors would certainly be effective here.
If you have not done this already, make sure that whenever you command your drivetrain to turn, you use the “turn to heading” block (or similar) This will turn your robot relative to a global heading. This global heading should change very little, even after extreme interactions with game elements and field obstacles.

5 Likes

You could use the vex GPS system

A little off topic, but if using an inertial sensor and internal motor encoders, will to robot go off course if it goes over the barrier?

Most likely as most drivetrains experience wheel slip when going over the bar.

I’m guessing this is for programming skills so your best bet is probably to go under the climb bar to get to the other side of the field.

One potential method to counter this would be a GPS reset. While the GPS is incredibly inaccurate when the robot is moving, it can give you a very good idea as to where your robot is if given 1-2s where the robot is fully stopped to retrieve a position. This would be best used if you were to drive over the bar and straight into the goal, as your angle could be held relatively constant. However, time is precious, so it really comes down to what risks you’re willing to make with time.

5 Likes

In my experience, since you match load in the corner for skills it’s faster to go under the climb bar anyway so I don’t think it matters too much.

It also puts you in a good position to push in any triballs that have landed to the side goal.

4 Likes

How does it work?

20 char

Thanks I haven’t been doing this and it will certainly help. I have to take a 2 week long break from working on the bot but when I get back I’ll test if I still even need the inertial sensor

The VEX “GPS” system requires a $200 sensor. You plug it into your robot, and a camera embedded in the sensor repeatedly takes snapshots of the field wall. If you have the GPS strip attached to your wall (a black and white checker-y patterned strip), it can do some Fancy-Dancy post processing on the image-snapshot by observing the shape of the GPS strip on the wall to determine where your robot is.

In your code, you can access this position as an X,Y coordinate and a Heading value.

If the GPS sensor is close to the wall, the image of the GPS strip will be larger than if the sensor was far away. There is a lot more to it than this – stuff that goes waaayyy over my head – but lucky for you, you don’t have to understand it. They understood it for you!

10 Likes

Thanks @Pi_way, our school definitely can’t afford this but I think I’ve gathered enough info from this thread to improve our autonomous skills by atleast 40 points.

Thanks,
Will
15800A

4 Likes

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