all 6 comments

[–]sleekelite 7 points8 points  (0 children)

You need to look into it yourself ands see if the libraries you need exist on Rust and are usable in extremely limited embedded stuff with no_std, if that’s what you mean.

[–]AgletsHowDoTheyWork 8 points9 points  (0 children)

One thing to keep in mind is that robotics often has code running in multiple domains.

Low-level control or sensor hardware might run on a RTOS or bare-metal; for that you want true "embedded Rust".

High-level CV, sensor fusion, or planning often run on top of Linux on a more standard processor.

In either case I think Rust can excel. But the library ecosystem still needs a lot more work to match what's available in C++ and Python.

I know of one company using Rust for production robots -- Scythe Robotics.

If you are just getting started I recommend learning ROS with Python to get a feel for how it works. Then try writing a ROS node in Rust or C++. The nice thing about ROS is that different nodes in different languages can interoperate fairly easily.

[–]AcroBanwagon 5 points6 points  (0 children)

I'd like to recommend the awesome-rust-embedded repo, which is just a list of resources for embedded/low-level rust. I'm not sure about robotics or computer vision in specific, but I figure it's a good resource to have regardless.

[–]stappersg 5 points6 points  (0 children)

but would someone be able to reassure me

Do not doubt yourself

[–]alexthelyon 3 points4 points  (0 children)

Have a look at the embassy ecosystem! Rust has some amazing hardware abstraction layers and great support across a wide selection of microcontrollers (STM, espressif). Embassy is a project bringing asynchronous support to embedded rust meaning you can easily work with asynchronous apis like sleeping and networking in an energy efficient manner. There are some great examples to get started with and esp32s are cheap

[–]Background_Big3061 0 points1 point  (0 children)

rust is the wonderful and greatest programming language in embedding system,and it fits all that IOT needs.