weilin
February 2, 2022, 8:32am
6
Depending on whether you drive on the flat surface or try to climb the platform you may need to use I and D components later. You may check out several good discussions about exit conditions for PID loops from before:
Most everyone struggles with accurate base control in auton. At the highest level, 5225 developed a 3 tracking wheel solution that allowed them to set the world record in programming skills last year, and a handful of teams including 8059 and 139 have replicated their “odometry” based on a document they released last year. Team 5225 Introduction to Position Tracking Document
But at a less extreme level, for people just looking to take a step up from move.relative you may like the base control…
My team is trying to implement a PID loop for autonomous this year but the loop doesn’t seem to end it just keeps running. Does anyone have advice? thanks in advance!
I will be allocating this thread to answering any questions in regards to the tutorial
[C++ VEXCode V5 Text Tutorials - Autonomous PID and Multitasking]
Fair Warning: I am unsure if I have the positive and negative motor values correct, as this is all done on the top of my head. So If the robot is continuing to go even after the lateral position is reached, change
error = averagePosition - desiredValue;
to
error = desiredValue - averagePosition;
If the robot continues to go even a…
Does anyone have a good reference to a Drive Straight PD loop for encoders? I am new to PID loops in general, so just looking for a basic PD loop that gets the job done. Thanks in advance!