ROS
rust-bindgen
ROS | rust-bindgen | |
---|---|---|
83 | 50 | |
2,636 | 4,088 | |
1.3% | 1.3% | |
2.6 | 9.0 | |
2 months ago | 6 days ago | |
Python | Rust | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ROS
- Google DeepMind's Aloha Unleashed is pushing the boundaries of robot dexterity
-
Linux market share passes 4% for first time; macOS dominance declines
I wonder if this could be related to M1/2/3 Macs being worse for x86 system software development than the old Intel Macs. I work on ROS[1] which runs on x86 Linux platforms, but usually develop on a Mac. I may have to move to a Linux laptop soon because there's not an easy path (that I'm aware of) to running x86 ROS code on an M3: compiling the entire system for arm would be a huge headache while running x86 code in a Linux VM under Rosetta has a lot of unknowns.
Obviously my case is a bit of an outlier, but once you add up enough outliers you might see a real impact.
[1] https://www.ros.org
-
Getting into Robotics as a Software Engineer
Robotics is a broad field and is a confluence of many specialties: mechanical engineering, hardware engineering, software engineering, control, machine learning, computer vision, anything in between is a good entrance.
Coming from software, if you are interested, I would suggest either:
- Backend platform development (Python, C++ as main programming languages with a strong focus on ROS[1]).
- Frontend development (nothing too different from what's out there).
As small projects I would suggest playing with ROS to learn it and getting a running simulation with a simple robot that you can teleoperate, most of the stack already exists, it's just connecting everything together [2].
Another venue is open source contribution [1] to get known within the community and potentially attract interest from companies. ROS has multiple packages, from cloud infrastructure to drivers and simulation, if you see anything there you could contribute to, they will gladly take contributions.
In general robotics greatly benefits of good technologies from other areas, if there is a tool we use you believe could be better or a lack of good tooling in a specific area, it will get noticed.
So this would be my suggested path: learn C++/Python if you're not familiar with, learn ROS and watch which specialties appear more often in robot related jos posts [3]. If you are really invested, maybe go to a robotics conference as ROSCon to meet other enthusiasts, which companies are engaged with the community, etc.
Good luck!
Note: not everything robot related is done in ROS, but it's almost a standard within the field save for a few exceptions.
[1]: https://www.ros.org/
-
How do I start robotics as a teen with no money?
ROS is an operating system designed for robotics (it can be run many different ways) it includes simulations for many robots (including sensors etc) and you can even design your own fully inside the software. https://www.ros.org/
-
C++ Project Ideas?
Robotics with ROS https://www.ros.org/ (You can do a lot with simulators and don't require actual HW)
-
[Career Advice] Transition from Software Engineer to Robotics
Hardware experience is useful, but not needed to get started working with robotics. With your software background, I recommend you look into learning ROS (Robot Operating System) fundamentals on a personal computer, you can simulate a robot using Gazebo. Good luck!
-
Best practices in creating a Rust API for a C++ library? Seeking advice from those who've done it before.
In Robotics, the Open Motion Planning Library (OMPL) is a popular library for multi-dimensional motion planning, and is used by ROS and other robotics-related software. There are no Rust bindings to OMPL (though there is Rust support for software like ROS), and the library is written almost exclusively in C++. There are Python bindings, but those are generated using Py++. The header files throughout OMPL are C++ header files, not C, as they contain namespaces, classes, etc.
-
[ANN] NASA's Ogma 1.0.9
[3] https://www.ros.org/
-
Newbie to Robotics (Question/Discussion)
ALSO - learn ROS. If you are interested in robotics as a career, this is one of the better things to have good experience for on your resume. There are also good tutorials on using ROS with simulated robots, so if you just want to focus on the software that's a good option :)
-
Real-time C++ on Linux
Roboticist here, have you heard of ROS?
rust-bindgen
- Rust Bindgen
-
ffizz: Build a Beautiful C API in Rust
Rust supports two kinds of FFI: calling into Rust from another language; and calling into another language from Rust. Most of the thought and tooling that exists right now is organized around the second kind. For example, bindgen is a popular tool that generates useful Rust wrappers from a C or C++ header file.
-
Best practices in creating a Rust API for a C++ library? Seeking advice from those who've done it before.
I have looked into bindgen, but found that it would not be feasible due to OMPL not having a C API, just C++.
-
the graphics driver doesn't work on gentoo.
Yes! Are you running LLVM version 16.0.0 or newer, by any chance? I believe this is an issue with some builds of bindgen with newer versions of LLVM. See https://github.com/rust-lang/rust-bindgen/issues/2488
-
Any sort of plugin engine with dynamic load ability and any limitations?
On native, you have to define a C API, probably using a header file. Even if both sides are implemented in Rust, they have to speak that C API (documentation).
-
How can I use rust libraries in C++
Bindgen has some functionality for direct talk to C++ https://github.com/rust-lang/rust-bindgen
-
Issue resolving dependencies when linking C libraries
I am trying to use rust-bindgen (https://github.com/rust-lang/rust-bindgen) to link a static C library (say `libexample.a`) which is compiled in a separate project with CMake. The `libexample.a` depends on other libraries (for example `libcurl.a`) installed on the system.
-
I implemented a NASA image compression algorithm
It looks like the guy you're replying too was kind of an ass, but I do want to point out for anyone else reading that that's not actually that much of a technical limitation: rust code can natively call C code. The main thing you need is a translation of the C library's header file so rustc knows what C functions and structs exist, and that can be automatically generated with bindgen.
-
Hey Rustaceans! Got a question? Ask here (5/2023)!
It's quite the different approach, but you could consider using bindgen instead.
-
Control hardware using c# or c++ API (dll)
Use bindgen or CXX to create Rust bindings for the C or C++ libraries.
What are some alternatives?
MRPT - :zap: The Mobile Robot Programming Toolkit (MRPT)
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Robotics Library (RL) - The Robotics Library (RL) is a self-contained C++ library for rigid body kinematics and dynamics, motion planning, and control.
cxx - Safe interop between Rust and C++
yarp - YARP - Yet Another Robot Platform
autocxx - Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
DART - DART: Dynamic Animation and Robotics Toolkit
JNA - Java Native Access
PCL - Point Cloud Library (PCL)
vulkano - Safe and rich Rust wrapper around the Vulkan API
moveit - :robot: The MoveIt motion planning framework
CC - A small, usability-oriented generic container library.