Good afternoon,
Could you please, help me with the construction of a PID controller for Cortex in order to maintain a straight line motion counting in the information of two quad encoders connected to the two motors?
How do you select the set point, how do you select the offset?
Thank you.
manuel
I’d recommend looking at the VEX Cortex Video Trainer > Movement > Automated Straightening Section: http://www.education.rec.ri.cmu.edu/products/teaching_robotc_cortex/index.html
It’s not quite PID control, but it will help you create straight-line motion. The ROBOTC development team is planning on adding full PID support in an update later this year.