Intro to Odometry in FTC | The Clueless

Описание к видео Intro to Odometry in FTC | The Clueless

The Clueless FTC #11212, based in San Diego, CA, provide an introductory explanation to odometry within FTC.

Desmos Graph: https://www.desmos.com/calculator/osc...

Useful resources:
https://gm0.org/en/latest/docs/common...
   • Intro to Odometry, Part 1  
   • What is Odometry? | An Introduction t...  

Tips For FTC Odometry
1) Build your odometry pods as sturdy as possible
- The mechanical design and components used can heavily influence your odometry's accuracy and performance. To mechanically minimize the amount of error, it is encouraged that your odometry modules are fabricated to precision, thus reducing the need for post-fabrication (calibrate your 3d printer/ CNC well). Post-fabrication, such as sanding down edges for your bearings to fit, can typically lead to wiggle room and increase the amount of potential accuracy error.
- Minimizing the parts used can often help decrease movement within your hardware components. For example, use one 3d printed encasing for your encoder + non-powered wheel instead of 2 plates + standoffs sandwiching your rotating wheel.
- Adding elastic compliance is another method to increase the robustness within your system. By using rubber bands or springs, you are able to ensure that your odometry module will always be in contact with the floor. This increases your odometry's data accuracy to your robot's movement.

2) Make sure they can spin freely and are not obstructed
- Minimize any friction between your non-powered odo wheel, encoder, and encasing, especially if the dead wheels are close to the center or in corners of the robot.
- When the dead wheels are located in the corners there is a component of force on them that points into the encoder, the rollers should help take care of this but when moving quickly or if sprung too hard this can result in these rollers locking up resulting in forces that can increase friction on the encoder.

3) Increase loop speeds & use a good approximation
- The faster the loop speed the more close the delta is to the differential.
You can increase loop speeds in a few ways:
- Only call a hardware component 1 timer per loop/don’t call it if you don’t use the data.
- Use BulkReads to call multiple devices at the same time https://gm0.org/en/latest/docs/softwa...
- Use analog and digital equivalents to I2C sensors (especially avoid the REV 2m Distance Sensor).
- Only update motors when they need to be updated
- Generally a constant velocity arc approximation is good enough for the 30 seconds of auto (In a good system expect 0.5 in of error). Road runner already uses this naturally.
- Try to minimize strafing, it makes your auto faster and increases accuracy.

4) Measure the Pod's Positions Accurately
- For the equations discussed in the video, multiple odometry values are needed such as the x / y distance between your horizontal or vertical odometry pod and the center of your robot. In order to get precise measurements, we suggest measuring in your robot's CAD software as a first pass. If your team does not use CAD software, we would suggest using precise forms of manual measurements such as calipers. If this doesn’t work just use a measuring tape.
- After you get a preliminary measurement try rotating the robot 10 times in place. Then you will need to adjust your track width by multiplying the left and right odometry wheels by 3600/numDegrees.
- We highly recommend that you follow these steps and find the experimental positions as opposed to just trusting your CAD because an inaccuracy as small as a few tenths of an inch can severely decrease accuracy when turning as the heading calculations will be inaccurate.

5) Know the Limits of your Odometry
- Although odometry provides a very accurate measurement for the location of your robot on the field, theoretically, error will always exist. It is best to design other subsystems in order to minimize the preciseness of odometry accuracy required.
- It is also useful to plan knowing the limits of odometry. Even the best odo systems expect about +- 0.5 in of error. If your design requires high levels of positioning to function autonomously consider adjusting this to be more forgiving.

Комментарии

Информация по комментариям в разработке