High stakes auto correct

I developed a ‘pre flight check code’ during the autonomous control period this code uses limit switches, bumpers, vision sensors, line trackers, rotational sensors, potentiomoter, and a intertial sensor to correct the robots position, heading, rotation, temprature, and every individual motors torque and velocity based on it’s temprature. To prevent burning out motors, and turning the motor on launchers or elevation to far back during auton. This code also controls how many rings are picked up and of what color to immediatly direct the robot to end the autonomous period at a certain ring or goal based on the alliance color.

4 Likes

So it basically corrects what faults your code and teammates made?

Cool! So like odometry and PID, except more complicated?
Could we see a video of it in action (like have it doing the auton routine, then randomly kick it or something)? It seems really nice how you’ve built a bot and coded it already!

1 Like

I would also be interested in hearing more about this. Cool concept.

Could you elaborate on this? Torque is calculated as \tau = P/\omega , power and angular velocity. The angular velocity can be calculated by teeth and gears, so and so. However, power is calculated by P=VI. Voltage and Current are only given as a total unit, not individually. How did you overcome this hurdle?

I developed a flying robot that uses motor encoders and a potentiometer to fly to the tallest rung of the tower, place the high ring, and knock the other robots off for good measure.

18 Likes

I genuinely cannot tell if this a sarcastic jab at my original post or not.

As in, you can’t tell if I really created anything because I didn’t post any code, pictures, or videos?

Funny, I was thinking the same thing.

10 Likes

I get your point now.

Sorry about the late response, I posted that post months ago and had to switch teams and devices meaning that all of my old cold is still inside the vexcode app on my old HP laptop, when my upcoming robotics meeting occurs I will see if I can get back to you guys with the full code.