ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to: ROS with 2 versions of Gazebo

asked 2017-07-06 07:05:00 -0600

SorinV gravatar image

updated 2017-07-10 08:35:03 -0600

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-10 08:37:18 -0600

SorinV gravatar image

updated 2017-07-10 08:37:48 -0600

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

Question Tools

2 followers

Stats

Asked: 2017-07-06 07:05:00 -0600

Seen: 369 times

Last updated: Jul 10 '17