PID controller tutorial and code for lane keeping
43 次查看(过去 30 天)
显示 更早的评论
I am trying to find a full tutorial on how to create a basic PID controller for lane keeping in a "self driving rc car" in simulink and i need the code for it. This is just for expiermentation and observation purposes so i can see how it all works and what not. I do not know hwo to program, hence the full tutorial and code. But i do have a friend who knows some programming. My goal is to see a full blown example with code and simulink PID controller so i can look at it and see how it works.
I have searched the internet and found papers and lectures, but never "here is an sctual simulink PID controller and code for you to mess with"
I found this, but again, no simulink or actual code to test out, unless i missed it
thank you very much for the help. I know i am litterally asking for some one else to do the work for me, but its like learning anything new, you ahve to start somewhere.
EDIT:
I should mention that i have had a controls class and i do understand some basics of PID
0 个评论
回答(1 个)
Dev
2022-12-27
Hi,
You may find this video tutorial useful, it is about how you can use systematic and automated ways to quickly design and implement different types of controllers, ranging from PID controllers to model reference adaptive controllers, https://www.mathworks.com/videos/pid-control-made-easy-81646.html .
You may use the following command to open the Lane keeping Assist Simulink test bench model:
openExample('autonomous_control/LaneKeepingAssistWithLaneDetectionExample')
You can further look inside different subsystems by double-clicking on it and look inside a mask subsystem by selecting the model and pressing "ctrl+u" .
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!