I’m going to use Julia for a robotics simulation project. I need a basic interface to ROS 1, rosbags and visualization of point clouds, meshes, etc. I’m a bit confused about what packages are currently supported and best to invest time into for the next 6 to 12 months.
I found RobotOS.jl, which looks fine for ROS 1 interface. I don’t see it listed at https://juliarobotics.org/, which seems to the place with a lot of recent activity. Is RobotOS.jl the best option to work with ROS 1?
Is RobotOSData.jl the only option to read rosbags? It hasn’t been updated in a while.
Are there any specialized options to visualize point clouds and meshes in real time? I think it can be done with Makie or GR, but is there another package, perhaps robotics or computer vision oriented?
AFAIK there hasn’t been a lot of ROS-Julia integration work, but last time I checked RobotOS.jl was still the right place to look for it.
It’s sort of a historical accident that there aren’t any ROS tools in the JuliaRobotics umbrella. Most of us who work on JuliaRobotics happened to be using an alternative tool called LCM during the MIT DARPA Robotics Challenge, so we have GitHub - JuliaRobotics/LCMCore.jl: Low-level Julia bindings for the LCM communications library instead. But ROS is far more standard, and I wouldn’t recommend picking up LCM for a new project.
I haven’t done any work on reading in point clouds from disk–the only cases I needed involved data already present as a vector of points in memory, which you can render with:
I’m migrating a C++ ROS project to Julia. Since I don’t really like the bloat of ROS, I will probably leave a thin C++ wrapper over ROS API subset I need and learned, and access it from Julia. It will isolate my Julia code from ROS API. I will most likely pass point clouds or depth images as plain vectors.
In the meantime, before I learn enough Julia to make it work, I would like to easily read my set of test point clouds from Julia. I can write them from C++ at practically any format, but I’m not sure which is the most reasonable for Julia: JSON, CSV, something else?
I tried to use RobotOS, but I couldn’t make it work.
Any of those will be fine. Personally, I like msgpack, which has all the flexibility of JSON but better performance. HDF5 will be even better for very large datasets.