It's me the greatest noob again.thank you very much for your last help guys.Now,this time I am with a line following robot.I want to use PID control in it.But I'm not getting any perfect resource from where I can learn it.I want to be fluent with it and learn it from the deep.please suggest me some resource from where i can get help.suggest me something that will teach me from beginner level to pro level.I want to learn it from the root and also implement it in my line follower simultaneously. you can also suggest any good algorithm or control system for my line follower.it will be very kind of you.

Thanks in advance.you guys are awesome.

I struggled with this for a long time. I'm still struggling. I've used a PID for my (RTK) line-following tractors so far. They are barely good enough. I'll try to describe generally how I did it.

  1. Use a PID which varies in output from 0 to 90.

  2. Calculate the cross-track distance (XTD).

  3. Feed the PID with the XTD.

  4. Use the output of the PID to determine the desired course. 0 means "head parallel with the line," and 90 means "head perpendicular toward the line."

  5. Steer (using an IMU) to the desired course.

Sure, it works, but I recommend Pure Pursuit.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.