Skip to content
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

ROS2 Humble gazebo package installation #61

Open
camroots opened this issue Jan 12, 2024 · 2 comments
Open

ROS2 Humble gazebo package installation #61

camroots opened this issue Jan 12, 2024 · 2 comments

Comments

@camroots
Copy link

Hi, I have a LITE 6 arm that I am looking to program. First I would like to simulate the arm before interacting with the hardware.

I have an Mac M1, running Parallels 19 that has an Ubuntu 22.04.2 ARM64 virtual machine. I am trying to follow the installation instructions here for installing ROS2 Humble.

Installing gazebo

The readme points to here for installing gazebo with the command curl -sSL http://get.gazebosim.org | sh. This results in the following error:

E: Package 'libgazebo-dev' has no installation candidate
E: Package 'gazebo' has no installation candidate

Installing gazebo_ros_pkgs

The readme makes reference to gazebo_ros_pkgs page which contains installation instructions for installing the packages for Foxy rather than Humble.

I considered attempting the Foxy installation but when running sudo apt install ros-foxy-gazebo-ros-pkgs I am provided with:

E: Unable to locate package ros-foxy-gazebo-ros-pkgs

Fortress installation

If I follow the instructions on the Gazebo website I am able to install the fortress version of gazebo and am able to run shapes.sdf.

The issue with this though is when I attempt to install the xArm dependencies (as per here) I receive the following error:

executing command [sudo -H apt-get install -y ros-humble-gazebo-plugins]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-humble-gazebo-plugins
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y ros-humble-gazebo-plugins] failed

Would someone be able to provide some guidance on which packages I should be installing? Would there be any expected issues running with my M1 Parallels setup?

Thank you.

@penglongxiang
Copy link
Contributor

Sorry we do not have the experience of M1 Mac platform installation, and we are not sure about the compatibility of the packages needed. Will leave this issue open for other users' help.

@cemoke
Copy link

cemoke commented Sep 8, 2024

I am having the same issue. Is it possible to use the repo without having the gazebo? I will not use the simulation; I will use the robot and Rviz. I think it should be possible to build without the Gazebo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants