Has anyone tried using ROS2 (especially the Humble distribution) on CachyOS? I know there’s the ros2-humble package on AUR, but it seems like most ppl either don’t acknowledge it or don’t recommend it at all (then what’s the point of that AUR ros2 then?).
I tried using Distrobox + the corresponding Ubuntu version supported by Humble months ago, but iirc VSCode’s intellisense (or the python interpreter? I forgot) didn’t detect the ros2 python library.
ROS made some… “design decisions” that make it quite painful to work with, particularly outside of the specific distros (and versions) it is built for. My frank opinion is that it’s a hot pile of garbage. Fancy website to lure people in, but the actual product is of questionable value.
If you want to press on with it, and not on the specific version of Ubuntu or RHEL they want you to use, you’re probably best off running it in a docker container.
There’s guides for doing so both in the ROS docs and Docker docs:
There’s a guide how to then get it integrated with VSCode as well:
That’s what Distrobox does under the hood anyway, except with an extra level of middleware in between which hides what is going on. Might as well just use docker, so you fully understand what is going on.
Hence probably your confusion about VSCode not working out of the box: It can’t see ROS because ROS is not installed on the host, but inside of a container. You need to jump through some hoops to get it to see it (above link).