TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Getting into robotics as a software engineer

179 点作者 bouk超过 1 年前

21 条评论

AnarchismIsCool超过 1 年前
Some concepts that you&#x27;ll need to get familiar with:<p>Real time operating systems. Less fancy than they sound but the devil is in the details. Robots need things to happen at a certain speed and at the right time so we have a type of scheduler (that can be patched into the linux kernel) that sacrifices absolute throughput to try and guarantee tasks start inside a particular window. Funny enough, if you&#x27;ve done game development and recognize that everything needs to happen inside 1&#x2F;60th of a second or better, you know some of the hard parts here.<p>Memory mapped addresses. C is scary but ultimately fairly simple. Once you get the hang of doing silly things with pointers and arrays, the next step is dealing with microcontrollers. You probably wonder how they do anything without an operating system though, and the answer is memory mapped IO. They have a fully flat memory space, starting with 0x0 and going up from there. That space usually contains basically everything from your stack, heap, flash storage, and all the peripherals like GPIO, I2C, SPI, serial, and so on. You can literally do things like int* x = 0x12345678; *x = 0x1; to turn on an LED because the device is listening for changes to that address to set the output state.<p>There&#x27;s a ton of other stuff, but these are the gateways to understanding the space you&#x27;re dealing with at a basic level.
评论 #39341908 未加载
msadowski超过 1 年前
My journey is a little bit opposite to the author’s: I studied robotics and started learning programming by myself to create software for robots. There are two observations I have that can be useful to people making the software-&gt;robotics journey.<p>* Agile for software-hardware is hard if not impossible. For software it can be reasonable, but it’s really hard to iterate on both hardware and software at the same time. It’s easier if the hardware designed is locked or the process involves waterfall on the hardware side. * I often found that people that come from pure software to robotics don’t have control experience and something that can be easily solved with a PID controller end up being a custom code that ends up being way more complicated than needed.
评论 #39334953 未加载
bemusedthrow75超过 1 年前
This is very interesting.<p>But quite a lot of CS people -- well at least I hope it is not just me -- end up on the web development trajectory despite or because of having less than good enough understanding of e.g. trigonometry, geometry and calculus... all of which start to matter a lot when you are starting to make things; especially things that move and consume electricity.<p>I am a good programmer but a <i>weak</i> mathematician. I have a 3D printer now, and I&#x27;m starting to learn FreeCAD and microcontroller stuff actively rather than just reading about it, and run up against my maths weakness all the time.<p>I have recently discovered the three books Joan Horvath and Rich Cameron wrote:<p><a href="https:&#x2F;&#x2F;www.makershed.com&#x2F;products&#x2F;make-trigonometry-print" rel="nofollow">https:&#x2F;&#x2F;www.makershed.com&#x2F;products&#x2F;make-trigonometry-print</a><p><a href="https:&#x2F;&#x2F;www.makershed.com&#x2F;products&#x2F;make-calculus-print" rel="nofollow">https:&#x2F;&#x2F;www.makershed.com&#x2F;products&#x2F;make-calculus-print</a><p><a href="https:&#x2F;&#x2F;www.makershed.com&#x2F;products&#x2F;make-geometry" rel="nofollow">https:&#x2F;&#x2F;www.makershed.com&#x2F;products&#x2F;make-geometry</a>
评论 #39334974 未加载
评论 #39335002 未加载
eschneider超过 1 年前
Nice article. As someone who&#x27;s also gotten into robotics from the software side, I&#x27;d also suggest learning a bit about the hardware side. If you&#x27;re doing anything with custom boards and board bring-up, you&#x27;ll need to be able to read a schematic and data sheet at a basic level. Being able to use an oscilloscope and logic analyzer is also _very_ useful. None of this stuff is terribly hard, but it&#x27;s nice to know what to expect.
评论 #39339220 未加载
评论 #39334811 未加载
AYBABTME超过 1 年前
I often feel the same urge to work on soft&#x2F;hard stuff. Not sure why I don&#x27;t actually do it. Although the current stuff I work on is very cool on its own and not Candy Crush. But it&#x27;s really a scourge on this world that the top tier pay in the industry is to shove ads in front of people.<p>So I do physical things in my personal projects and then come to realize that the potential return on investment (time spent vs. expected money) would be peanuts in comparison to pure software. I would love to know of hardware related work that has decent margins. Or at least enough margins to justify paying a good salary to enough engineers to sustain them.
评论 #39335406 未加载
NordSteve超过 1 年前
If you have a team nearby, go work with a FIRST Robotics Competition team as a mentor&#x2F;volunteer. Great community, you&#x27;ll learn a lot, and make great connections if you want to get into this area as a career.
评论 #39336414 未加载
kaycebasques超过 1 年前
The article itself was a bit too holier-than-thou for me but I want more robotics content here on HN so let&#x27;s hijack this thread and share robotics passion!!<p>My own shitty first foray into robotics is an RPi that I can talk to [2].<p>If you didn&#x27;t see &quot;the coolest robot I&#x27;ve ever built&quot; you gotta watch that... so inspiring [3]<p>Latent Space has a robotics demo day coming up, pretty curious to see what comes out of that [4]<p>Some stream-of-conscious thoughts about why I&#x27;m drawn to robotics:<p>* The maker &#x2F; hacker &#x2F; homebrew communities that are basically just using robots to express art. Maker Faire, Burning Man, etc.<p>* The satisfaction of writing code and seeing something physical happen. Last week I was trying to figure out how to get a shitty third party Amazon robot hat [5] to actually do something useful so I was iterating through the GPIOs and I somehow made it actually smoke. I&#x27;m weirdly proud of messing up so badly that my hardware actually smoked!<p>* The joy of demystifying hardware and learning all the layers of abstraction just within hardware<p>[2] <a href="https:&#x2F;&#x2F;www.biodigitaljazz.net&#x2F;blog&#x2F;STTTGTS.html" rel="nofollow">https:&#x2F;&#x2F;www.biodigitaljazz.net&#x2F;blog&#x2F;STTTGTS.html</a><p>[3] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38162881">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38162881</a><p>[4] <a href="https:&#x2F;&#x2F;lu.ma&#x2F;latent-space-final-frontiers" rel="nofollow">https:&#x2F;&#x2F;lu.ma&#x2F;latent-space-final-frontiers</a><p>[5] A Xmas present from my sweet wife, really touching that she&#x27;s encouraging me to actually pursue my interest in robotics
mdorazio超过 1 年前
Really wish the author would have commented on salary. I personally think the reason more people don&#x27;t end up on the hardware&#x2F;robotics side is that the questionable-value fintech&#x2F;adtech&#x2F;socialtech pure software side of the world pays so much better and most developers follow the money.
评论 #39335205 未加载
评论 #39340048 未加载
评论 #39335375 未加载
评论 #39335073 未加载
chris_st超过 1 年前
I&#x27;ve occasionally thought it would be fun (not necessarily productive!) to do something like the experiments folks have done with Genetic Algorithms, having simulated robots learn to walk, etc. in a simulated physics environment. The interesting bit would be to do it with real legs, sensors, servos, etc., to try to build up a &quot;naive physics&quot; library that can deal with balance, etc., by learning from physical experience rather than starting with equations of motion.<p>That may be the most number of times I&#x27;ve typed &quot;etc.&quot; in a paragraph.
评论 #39334979 未加载
评论 #39335082 未加载
评论 #39334898 未加载
评论 #39334983 未加载
评论 #39339764 未加载
评论 #39334863 未加载
ih超过 1 年前
I&#x27;m just getting into robotics with a background in software and I ended up choosing the Isaac Sim platform&#x2F;ecosystem (<a href="https:&#x2F;&#x2F;docs.omniverse.nvidia.com&#x2F;isaacsim&#x2F;latest&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;docs.omniverse.nvidia.com&#x2F;isaacsim&#x2F;latest&#x2F;index.html</a>) and Jetbot (<a href="https:&#x2F;&#x2F;jetbot.org&#x2F;master&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jetbot.org&#x2F;master&#x2F;</a>) since they seem suited for neural networks and reinforcement learning. So far getting up and running with the simulation side hasn&#x27;t been too bad and there is a model for the Jetbot in Isaac Sim since it&#x27;s also by Nvidia. I haven&#x27;t started on the hardware side so can&#x27;t speak on that. The downside for some might be it&#x27;s proprietary and Jetbot itself is a bit out of date and nearing end of life support.
评论 #39339272 未加载
manuel_w超过 1 年前
This is completely unrelated to the article the OP posted other than it&#x27;s also related to robotics. But it&#x27;s the coolest robot project I found recently. And since readers of this thread are likely to be interested in robotics (I am!), it might of interest to some:<p><a href="https:&#x2F;&#x2F;www.allesblinkt.com&#x2F;projects&#x2F;round-about-four-dimensions&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.allesblinkt.com&#x2F;projects&#x2F;round-about-four-dimens...</a><p>Hope this is not considered too off-topic here.
评论 #39338346 未加载
评论 #39334764 未加载
andrew_eu超过 1 年前
What would be a good starting platform for a programmable drone?<p>The article suggests playing around with a Raspberry Pi Pico, but this is a bit bare bones. Are there any kits, or entry level programmable drones on the market with a reasonable toolchain to program sequences?
评论 #39338278 未加载
评论 #39335420 未加载
评论 #39338359 未加载
评论 #39335409 未加载
tonmoy超过 1 年前
As someone who works in making physical things, I disagree with the premise that the world of bits and bytes does not have impact. We will always need to manage resources including humans at a large scale and web apps are the best way to do that.
choonway超过 1 年前
The best way to get into it without investing money in all that hardware is to play with a simulator. My preference is CoppeliaSim - due to it&#x27;s user friendliness.<p><a href="https:&#x2F;&#x2F;www.coppeliarobotics.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.coppeliarobotics.com&#x2F;</a><p>But take your pick there are many to choose from.<p><a href="https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;abs&#x2F;pii&#x2F;S1569190X22001046" rel="nofollow">https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;abs&#x2F;pii&#x2F;S15691...</a>
blah-yeah超过 1 年前
Make magazine has a great magazine on getting into robotics via the Battle Bots type of robots.<p>I think it was an issue from 2022 or 2023 (not enough energy currently to track down the issue in their catalog)<p>Here&#x27;s an article on their site about the topic:<p><a href="https:&#x2F;&#x2F;makezine.com&#x2F;tag&#x2F;battlebots&#x2F;" rel="nofollow">https:&#x2F;&#x2F;makezine.com&#x2F;tag&#x2F;battlebots&#x2F;</a>
评论 #39374963 未加载
tamimio超过 1 年前
As long as software folks don’t bring their shenanigans (agile&#x2F;scum (ahmm scrum) approach, daily stand up, ticket based management, ship products within 2 weeks, among others) into the robotics&#x2F;engineering world, you are welcome. I have seen many cases of software “project or engineering managers” ruin a whole department because they were trying to force such stupid approaches, it’s always ironic seeing some are trying to force agile for example even though the whole idea of agile is being..agile.
tester756超过 1 年前
If only anything closer to hardware wasnt paying this bad...<p>A lot of SEs leave industries like semiconductors for web dev jobs that pay waay better
Animats超过 1 年前
This might be a good time to get into robotics. For a long time, industrial robots were really dumb. Then there was a round of false enthusiasm for &quot;intelligent robots&quot; (Rethink Robotics went down that rathole.) Now, at last, compute power, vision, and AI are cheap enough that you can get something done.<p>The components are much better. Batteries are better. Motors are better. Radio communications work. Cameras are cheap. Short-range LIDAR is affordable. Navigation systems work. Robotics work used to require using a lot of time building custom solutions for those problems. Now you can just order components.<p>Here&#x27;s an idea I&#x27;d like to see revisited. Back in the 1980s, someone built a pair of small forklifts that operated as a team. These were little things, about half a meter cubed, with maybe 50cm of lift. Individually, they couldn&#x27;t do much. But a pair working together could pick up and move a couch, with one robot lifting each end. In the 1980s, the researchers had trouble coordinating two mobile robots. Communications alone were a big problem. Not today.<p>There are many material handling tasks where one small robot isn&#x27;t enough, and a big machine the size of a forklift is too bulky. But teams of small robots might work.<p>I still have a small robot arm on my desk, but it&#x27;s not connected to anything.
moffkalast超过 1 年前
&gt; Also, if you’re not already, you should get into writing Rust. The powerful type system and safety is incredible. The build tooling and ecosystem is much better than C++ et al. Rust for embedded is not there yet, but improving all the time.<p>Meh, maybe in a decade. ROS has no official support for it either. Robotics is still very much a C++ town and will probably remain as such for a long while as long as people remain stubbornly set in their ways. If you apply as a Rust only dev to a robotics company nobody will take you seriously.
hcks超过 1 年前
“You should base your life decisions on the koolaid flavour you prefer”
richrichie超过 1 年前
“ An app is not going to house people, feed them or put them on Mars. We can’t solve climate change with smarter software”<p>Yes it can and we can.<p>Software has been a critical component of much progress we have made over the last few decades.<p>I understand the difficulty with the abstract many people have. Some may think Hilbert spaces are not real. For many they are as real as any space around them. Some live in them !
评论 #39335661 未加载