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.

Fast line-following robots

207 pointsby a1k0nover 6 years ago

11 comments

bananasbandanasover 6 years ago
There is a similar competition in Germany called the CaroloCup. Here is a video of our run when I was still a student [1].<p>We used model-predictive control which evaluated about 10k trajectories with look-ahead, which works really well even when tires begin to degrade after a few minutes. You can see the effects in the video towards the end, where the car starts to slide, but the controller manages to catch it in time.<p>Our CV was a bit more complex as we had to deal with missing line segments. We pre-processed the camera image with a distance transform, then used an optimization pass written in opencl to fit a 3rd-order polynomial to the image.<p>[1] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Of_D_Z9gbeg" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Of_D_Z9gbeg</a>
评论 #18459572 未加载
a1k0nover 6 years ago
Didn&#x27;t mention it in the post, but info about the car hardware and all the code is at <a href="https:&#x2F;&#x2F;github.com&#x2F;a1k0n&#x2F;cycloid" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;a1k0n&#x2F;cycloid</a>
drivers99over 6 years ago
This is really inspiring. I played around with converting an RC car to self-driving with an arduino but it was very simplistic. It used an ultrasonic sensor (Parallax &quot;Ping)))&quot; sensor) to try to keep a specific range of distance from a wall to its left. It wasn&#x27;t aware of its angle so it had a positive feedback loop in its reactions which caused it to oscillate more and more out of control. Just knowing there are people are there playing around with this for fun makes me want to get back into it.
评论 #18456114 未加载
评论 #18457340 未加载
elwellover 6 years ago
Wow, really the best email address spam protection method [0]:<p><pre><code> _=0;k;main(){while(_&lt;641){for(k=0;&quot;##K#8(38D-##C]L5870.X7\\M_b;90\\&quot; &quot;MC-M&#x2F;NZGB6Q,I0VGB6a0FbN&lt;VG.6Q\\bNb7^@`X=N@`XQaOVX:^]NX=:Z8PY]B`:&gt;P&quot; &quot;NY8^$#SM):XA&quot;[_&#x2F;6]-35&gt;&gt;_++%6&amp;1;k++);putchar(k[&quot; _&#x2F;\\\n,`)(&#x27;&lt;-&quot;]);}} </code></pre> [0] - bottom of OP&#x27;s homepage <a href="https:&#x2F;&#x2F;www.a1k0n.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.a1k0n.net&#x2F;</a>
评论 #18461179 未加载
adrianNover 6 years ago
A similar discipline is Micromouse, where robots have to solve mazes and then race the path they found.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NqdZ9wbXt8k" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NqdZ9wbXt8k</a>
hobolordover 6 years ago
This is great, I did a robotics course in uni that was essentially this. We never took it further than PID control though. <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oDqfKm4Ovcg" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oDqfKm4Ovcg</a><p>That was a fun time in uni
评论 #18457429 未加载
cmontellaover 6 years ago
Very cool! We ran a competition like this once for undergrads: <a href="https:&#x2F;&#x2F;vaderlab.wordpress.com&#x2F;roscar-robot-stock-car-autonomous-racing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vaderlab.wordpress.com&#x2F;roscar-robot-stock-car-autono...</a><p>It had to be a little more complex than line following, because at one point in the track there are a bunch of line crossings. So you had to do some mapping and tracking too in order to stay in the right lane.<p>It&#x27;s really fun seeing how fast you can make them go. One team maxed out the speed on the platform.
TaylorAlexanderover 6 years ago
Awesome post! I really need to attend the robo cars event. I’m working slowly on my own autonomous robot:<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;UrVnzHuTtBk" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;UrVnzHuTtBk</a>
评论 #18456198 未加载
msadowskiover 6 years ago
That&#x27;s super interesting! How do you generate those canvases showing the algorithm behaviour? I think such animations could be very useful for teaching PID tuning.<p>If you don&#x27;t mind I would love to add this article in my next WeeklyRobotics (<a href="https:&#x2F;&#x2F;weeklyrobotics.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;weeklyrobotics.com&#x2F;</a>) issue.
评论 #18459522 未加载
Already__Takenover 6 years ago
Looking forward to seeing this thing remember the line each lap and refine its curve. At that point you&#x27;re then working on traction control problems wouldn&#x27;t you?
评论 #18459534 未加载
SubiculumCodeover 6 years ago
This is pretty dang cool, imo.