3 ms·
Ask HN: What's the best way to make a RC car drive around a permitter?
Assume I wanted to make a RC car drive within a perimeter. Say a table. What would be the best way to achieve this?
I see https://github.com/ApolloAuto/apollo exists which is an autonomous driving software. But I feel that is over kill.
I was trying to imagine either using a sort of electric fence, like a dog collar, and maybe something more analog to be able to detect the perimeter and just have it know to stop or reverse with a quick servo.
- beeburrt 3y agoFYI: title says ‘permitter’ when you probably meant perimeter. Auto-correct fail?
- richk449 3y agoDonkey car works really well. It uses a camera and by default trains it to follow a lane line. I bet it could be trained to follow an edge pretty easily though. It’s a well documented and easy to implement project. https://docs.donkeycar.com/ https://docs.donkeycar.com/
- tocs3 3y agoMaybe also overkill but I saw this years ago and thought it was interesting. https://blog.singleton.io/nnrccar/ https://blog.singleton.io/nnrccar/ https://hackaday.com/2012/01/03/nerual-networks-control-a-toy-car/ https://hackaday.com/2012/01/03/nerual-networks-control-a-to... Also, I have built a couple toy robots that use "whiskers" to avoid obstacles.