Robotics StackExchange | Archived questions

ROS kinetic installin gazebo 9 rather than gazebo 7

Hi, When I was use the following instructions for ROS kinetic with raspberry pi, it is trying to install gazebo9 rather than gazebo7. I am using debian stretch which can't install gazebo9. Has anyone a solution to this?

Thanks

Asked by co_urt on 2020-03-03 11:23:21 UTC

Comments

Answers

Can you please provide the exact list of commands you ran, the full console output and describe precisely what you are trying to do ? Several things don't seem right is the questions making it harder to answer.

When I was use the following instructions for ROS kinetic with raspberry pi, it is trying to install gazebo9

That tutorial does not result in installing Gazebo (it explains how to install ros_comm, robot or desktop, none of which contain Gazebo); so you must be diverging from the tutorial somewhere.

Running Gazebo on the RaspberryPi will produce poor performance at best, Gazebo is a heavy desktop application that is not very usable on small platforms. If you don't need Gazebo or can run it on a remote computer instead I strongly encourage you not to install/use it on your Pi.

I am using debian stretch

ROS Kinetic targets Debian Jessie and not Debian Stretch as listed in REP3, if you have the choice of the version of ROS I recommend you to use ROS Melodic that is more recent and targets Debian Stretch.

I am using debian stretch which can't install gazebo9.

The ROS repositories do provide gazebo9 packages for Debian Stretch, so Debian stretch can install Gazebo9

it is trying to install gazebo9 rather than gazebo7

Debian Stretch comes with gazebo7 by default. But ROS provides additionally a gazebo9 package for Stretch (for ROS melodic users). The most likely scenario is that you are trying to install BOTH gazebo7 and gazebo9 and this is not possible.

sudo apt remove -y gazeb* libgazebo* libignition* && sudo apt autoremove -y
sudo apt install -y gazebo7

When you run rosdep install you should tell it to exclude gazebo so that it doesnt try to install gazebo9:

rosdep install -y ... --skip-keys gazebo

Asked by marguedas on 2020-03-03 13:59:22 UTC

Comments

I am trying to install desktop_full. I need it so I can get access to the occupancy map functions as I want to integrate it with the Intel Realsense technology. They specifically state to install ROS kinetic

I will try the exclude gazebo command and get back to you. Thanks.

Asked by co_urt on 2020-03-05 04:54:31 UTC

gazebo_ros_pkgs/gazebo_dev pulls in rosdep keys libgazebo7-dev and gazebo. Depending on your distribution gazebo can resolve to gazebo7 or gazebo9 or even gazebo11. See here: https://github.com/ros/rosdistro/blob/kinetic/2021-01-25/rosdep/base.yaml

Asked by macin on 2021-02-13 08:30:24 UTC