RoboStack / ros-galactic

Vinca build files for ROS 2 Galactic Geochelone
https://robostack.github.io
21 stars 14 forks source link

Add Rviz2 package for Apple M1 #71

Closed michtesar closed 2 years ago

michtesar commented 2 years ago

RViz is very useful tool and still it is missing on ROS2 envs in Apple Silicon (M1 chips).

-- I can test M1 builds, if that helps the project...

Tobias-Fischer commented 2 years ago

The required qt dependencies are still missing on conda-forge. While qt-main is built for osx-arm64 (M1), qt-webengine (see https://github.com/conda-forge/staged-recipes/pull/17233) and crucially pyqt are not yet.

I'll get a M1 myself within the next few days and will try and work on getting these dependencies up.

For now, please see https://github.com/RoboStack/ros-noetic/issues/156 which describes a RoboStack installation with Rosetta.

Tobias-Fischer commented 2 years ago

Hi @michtesar - I made some progress today, but still a fair way to go.

Could you please confirm that simple stuff like ros2 node list works for you? On my M1 (which I just got), I simply get a zsh: killed.

michtesar commented 2 years ago

Hi @Tobias-Fischer I get Fatal Python error:

Fatal Python error: _PyInterpreterState_Get(): no current thread state
Python runtime state: unknown

[1]    11645 abort      ros2 node list

I had problems with installing ROS2 Galactic trough Mamba, so I used Conda.

Mamba was missing packages in upstream: ros-galactic-image-tools and some rviz packages. I installed them manually trough Conda, and Mamba didn't find it.

I include my env packages in log.

packages.txt

Tobias-Fischer commented 2 years ago

Hi @michtesar - closing here as the package now exists, but please note https://github.com/RoboStack/ros-galactic/issues/73