Robotics StackExchange | Archived questions

How to: ROS with 2 versions of Gazebo

Hi guys,

So i needed to fix this issue. In order to do that i changed some code in Gazebo and installed it locally from source.

My dilema now is how can I use it. Using a launch file that spawns some robots, uses ros_control etc. I had all this working before but I needed to fix my simulation but I am having trouble moving forward with using the fresh version of Gazebo 7 i just installed.

Using ROS Kinetic, Ubuntu 16.0.4

Asked by SorinV on 2017-07-06 07:05:00 UTC

Comments

Answers

I needed to export the LD_LIBRARY_PATH accordingly so that the source install version is used. If you build gazebo in a catkin workspace then sourcing the workspace setup file should take care of the paths. I added this line to .bashrc in order to use he source compiled one:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Asked by SorinV on 2017-07-10 08:37:18 UTC

Comments