UAA-Robo / VEX-U-Over-Under

2 stars 1 forks source link

AUTO: Sensor Correction/Fusion #11

Open schromya opened 1 year ago

schromya commented 1 year ago

Description

Work with Dr. Heidari to figure out how to best correct the error in our sensors (encoders, rotational sensors, GPS). This could be a "sensor fusion".


Possible Data Correction Tactics:

DOD

This task its considered done when it is thoroughly documented in the Engineering Notebook.

schromya commented 1 year ago

I finished the logger and gathered the data (7/11/2023 9:12pm AKST). The data is in csv format: positionData.txt

I ran the bot through 10 random points on the field within a 36inx36in square, starting at [0,0] with a heading of 0. Data was gathered about every second. The bot would know it’s current position (logged as initX/Y and initHeading), and then calculate the heading it needed to turn to and displacement it needed to move to to get to the next random position (logged as goal x/Y and goalHeading). While the bot moved to the next random position it continuously logged gps position, gps Heading, wheel displacement, wheel velocity, wheel voltage, and wheel power.