TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: How I built a self-driving (RC) car.

300 pointsby dpsover 13 years ago
I have been taking Andrew Ng's Machine Learning course. The lecture module on Neural Networks ends with an intriguing video of the ALVINN autonomous car driving itself along normal roads at CMU in the mid 90s.<p>I was inspired by that video to see what I could build myself. A link to my incomplete write up was posted a couple of weeks ago (ouch!) but I finally finished it and open sourced the code tonight (so you can build your own self driving car).<p>What do you think? http://blog.davidsingleton.org/nnrccar https://github.com/dps/nnrccar

14 comments

dpsover 13 years ago
The links:<p><a href="http://blog.davidsingleton.org/nnrccar" rel="nofollow">http://blog.davidsingleton.org/nnrccar</a><p><a href="https://github.com/dps/nnrccar" rel="nofollow">https://github.com/dps/nnrccar</a>
JoachimSchipperover 13 years ago
Hint: it's common wisdom that such things are best posted as links instead of "Show HN", since "show/ask" posts leave the front page more quickly. You can always add a # or ? if you want to fool the duplicate-detecting algorithm...
评论 #3419173 未加载
aiurtouristover 13 years ago
Congratulations -- you'll never need a resume ever again. :)
评论 #3418811 未加载
Game_Enderover 13 years ago
Very cool robotics project. Were you aware of FANN (<a href="http://leenissen.dk/fann/wp" rel="nofollow">http://leenissen.dk/fann/wp</a>) before you started your neural network implementation? Also have you tried any other machine learning techniques on that data, comparison results would be interesting.
endianswapover 13 years ago
What sort of latencies did you see in this project while the car was running? Specifically, from the point where you have access to the camera's preview buffer to encoding it, sending it, running it through the neural network, and sending the button bits to the microcontroller.
评论 #3419137 未加载
leoedinover 13 years ago
How practical is running the software onboard? Would you have to port it out of Octave to Java? There seems to be a useful library in the form of [jlmath] that may well let you run the program as-is.<p>jlmath: <a href="http://www.jmathlib.de/" rel="nofollow">http://www.jmathlib.de/</a><p>I was going to suggest using the audio jack, but it seems you've already found a (really cool) project that's using it.<p>Anyway, it's a pretty awesome project. I'm building a robotic vacuum cleaner currently, although I'm building the chassis from scratch and that's proving to be a bit of a stumbling block with my current tools. My software right now is pretty much rudimentary collision detection, so something like this is pretty interesting as a far more sophisticated option.
richardburtonover 13 years ago
What a great side-project! I wonder how long it will be before we are comfortable with the idea of self-driving cars on the road? The transition will be slow but I think it is inevitable. Humans are less reliable than robots. I hope.
EwanGover 13 years ago
So I have to ask, how well do you think this would scale? AM I but a month of effort away from never having to actively drive to work again (given I follow the same route most days, etc)?
评论 #3419135 未加载
jakejakeover 13 years ago
super cool! it would be even more cool to see the arduino hooked up directly to the android so there was no separate computer involved and it was totally autonomous. even still, this is cool, thanks for sharing!
评论 #3419142 未加载
tzsover 13 years ago
The input layer for the neural net has 25345 units. The input is a 176x144 image, which is 25344 pixels. Why is there one more input unit than pixels?
评论 #3429046 未加载
josscrowcroftover 13 years ago
Made my day and seems to have reignited my curiosity about DIY robots. Congratulations!
geekfactorover 13 years ago
Wow, very nice. Congrats on putting the course into practice!
noeltockover 13 years ago
Well done, that's pretty awesome.
jack83over 13 years ago
Wow