-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include arm64 machines as used in MAC M1 Virtual, Raspberry Pi & Nvidia machine as a gz-sim supported platform #2160
Comments
Tnx: On my MAC M1 arm64 Ubuntu 22.05 Machine (that currently also has ign gazebo installed and working), successfully Binary ( I use Synaptic) installed gz-cmake3 gz-tools2 gz-utils2 gz-math7 gz-common5 gz-msgs10 sdformat14 gz-fuel_tools9 gz-plugin2 gz-transport13 gui8 launch7 sim8 sensors8 gz-physics7 gz-harmonic . |
Then tried Source install ros_gz branch ros2 (default),: rosdep completed. But Build failed due missing gz-transport12, just noticed a Pull request #473 in ros_gz that is in process to support Harminc . This should fix this? |
Hi, have there been any fixes to this issue? |
Pertaining to gz_sim, yes. Following Installation from Binary , (https://gazebosim.org/api/sim/8/install.html) on my Ubuntu 22.04 MAC M1 arm64 Parallels 18 VM (and I believe would be the case on a native x86-64 also), successfully installed gz_sim. executing $ gz sim --version displays : Gazebo Sim, version 8.0.0 . However, there remains an issue with Source install of ros_gz on Humble (even provided executing $ export GZ_VERSION=harmonic as necessary dependency ros2/ros2 rosidl_pycommon doesn't exist in Humble. ( ros2/rosidl#777 ). |
Yesterday I installed Gazebo Fortress from this link: https://gazebosim.org/docs/fortress/install_ubuntu And ran it with What's the difference between my method to install gazebo and yours? Thanks for helping by sharing your information @ARLunan , if I get more issues or comments to help fixing this, I will. |
To answer your install method question: I have a Ubuntu 22.04 arm64 machine (MAC M1 with Parallels VM), vs your x86-64 Intel machine. I can binary install gz_sim but not ros_gz. A ros_gz Source that I must use now that fails, install requires a ros2 dependency with is not available on Humble. I hope that is fixed by adding an arm64 Binary install to the already available x86-64 install, (gazebosim/ros_gz#474) . |
Thanks for replying! I have a Mac m1 with Asahi ubuntu, so I'm on a similar situation as you. I am running ros2 humble without any issues. I didn't have any issues downloading ros_gz. I installed through Maybe try using Gazebo Fortress with ign_ros_gz ? |
Andromeda, Here’s a capture of my Ubuntu 22.04 VM Terminal, that has both Gazebo Ignition and Gazebo Harmonic Installed, but no ros_gz.
Note the error that is generated by the non-available humble rosicl-pycommon package.
Ross
***@***.***:~$ uname -a
Linux macvm-ub22h-bv 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 20:26:31 UTC 2 aarch64 aarch64 aarch64 GNU/Linux
***@***.***:~$ ign gazebo --version
Gazebo Sim, version 6.15.0
Copyright (C) 2018 Open Source Robotics Foundation.
Released under the Apache 2.0 License.
***@***.***:~$ gz sim --version
Gazebo Sim, version 8.0.0
Copyright (C) 2018 Open Source Robotics Foundation.
Released under the Apache 2.0 License.
***@***.***:~$ printenv|grep GZ
GZ_VERSION=harmonic
***@***.***:~$ sudo apt install ros-humble-ros-gz
[sudo] password for ubuntutbc:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
libdart6.13-collision-bullet-dev : Breaks: libdart-collision-bullet-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
libdart6.13-collision-ode-dev : Breaks: libdart-collision-ode-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
libdart6.13-dev : Breaks: libdart-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
libdart6.13-external-convhull-3d-dev : Breaks: libdart-external-convhull-3d-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
libdart6.13-external-ikfast-dev : Breaks: libdart-external-ikfast-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
libdart6.13-external-odelcpsolver-dev : Breaks: libdart-external-odelcpsolver-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
libdart6.13-utils-dev : Breaks: libdart-utils-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
libdart6.13-utils-urdf-dev : Breaks: libdart-utils-urdf-dev (< 6.14.0) but 6.12.1+dfsg4-11build2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
***@***.***:~$
… On Dec 29, 2023, at 7:10 AM, Andromeda ***@***.***> wrote:
Thanks for replying!
I have a Mac m1 with Asahi ubuntu, so I'm on a similar situation as you. I am running ros2 humble without any issues. I didn't have any issues downloading ros_gz. I installed through sudo apt install ros-humble-ros-gz. Not sure if I'm missing something here.
Maybe try using Gazebo Fortress with ign_ros_gz ?
—
Reply to this email directly, view it on GitHub <#2160 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAGPD4HEO6BLNBNACJF6O5TYL2XLVAVCNFSM6AAAAAA5AVWZXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGAYDIMZSGY>.
You are receiving this because you were mentioned.
|
As mentioned in gazebosim/ros_gz#474 (comment), you need to use the We currently provide binary packages for the ROS 2 Humble / Gazebo Fortress combination. That's what |
Andromeda. As I mentioned in gazebosim/ros_gz#474 (comment) , Success compiling ros_gz from Source : Summary: 12 packages finished [37 secs] with the allocating 4 Cores CPU /8 GB Memory and export MAKEFLAGS="-j 1". Thank you. So the ros_gz Harmonic (Humble branch) Install on a ROS 2 Humble from Source on a suitably powerful arm64 machine works . Thank you (and Azeey) for assistance. |
Perfect, I'm glad you've managed to compile it from source Thanks for the help as well |
For ros_rz and ros_gz_project_template source build, suggest adding these parameters to the READ.ME (such as on arm64 machines) , namely use the humble branch, before running colcon build in a Terminal: Finally consider release a arm64 Binary Install for ros_gz and ros_gz_project_template. |
Required Info
Operating System: Ubuntu 22.04.3 arm64
ROS2 Version: Iron Binary
Desired behavior
Install Gazebo Harmonic and ros-gz on arm64 platforms such as MAC M1 Virtual (NOT native MAC functionality), Raspberry Pi or Nvidia machines used as a ROS 2 Desktop,
The text was updated successfully, but these errors were encountered: