Ask Your Question
1

ROS kinetic installin gazebo 9 rather than gazebo 7

asked 2020-03-03 10:23:21 -0500

co_urt gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-03 12:59:22 -0500

marguedas gravatar image

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
edit flag offensive delete link more

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.

co_urt gravatar image co_urt  ( 2020-03-05 03:54:31 -0500 )edit

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...

macin gravatar image macin  ( 2021-02-13 07:30:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-03-03 10:23:21 -0500

Seen: 451 times

Last updated: Mar 03 '20