Dear all,
I consider the little line follower project successfully finished - here is a video of my little lorry travelling at the target speed of 50km/h. I have also posted to the finished projects forum where you will also find full code as of the moment the car was filmed.
There are many things that I know can be improved, but this will have to be done later as a project is only a project when it has a start and an end . The goal was reliable line tracking at scale 50km/h and this is doing it while the battery lasts. It can actually travel quite a bit faster than that, but then it sometimes goes off rails.
This has been a great learning experience and out of many, I want to stress three things I'm taking from this project.
1) Simulator is a great tool. On (Sh)Windows.
2) Code can always be more efficient.
3) I now know how to quickly assess how fast a piece of code is and thus can benchmark one solution to another.
Thank you all for your inputs - the great ideas that have found a way into the code of the current solution and those that go on the shelf when the time comes to improve the current version.
Cheers,
Edmunds
I consider the little line follower project successfully finished - here is a video of my little lorry travelling at the target speed of 50km/h. I have also posted to the finished projects forum where you will also find full code as of the moment the car was filmed.
There are many things that I know can be improved, but this will have to be done later as a project is only a project when it has a start and an end . The goal was reliable line tracking at scale 50km/h and this is doing it while the battery lasts. It can actually travel quite a bit faster than that, but then it sometimes goes off rails.
This has been a great learning experience and out of many, I want to stress three things I'm taking from this project.
1) Simulator is a great tool. On (Sh)Windows.
2) Code can always be more efficient.
3) I now know how to quickly assess how fast a piece of code is and thus can benchmark one solution to another.
Thank you all for your inputs - the great ideas that have found a way into the code of the current solution and those that go on the shelf when the time comes to improve the current version.
Cheers,
Edmunds