Building gazebo and ros from source using catkin

asked 2018-01-19 08:43:49 -0500

Edwin Walsh gravatar image

Hi all,

I need to build gazebo 8 from source, since I am working on the implementation of a new sensor. I want to use gazebo 8, because I want to use actors. I will also need to build gazebo_ros_pkgs from source so that I can generate ros topics for the new sensor.

The documentation mentions that to use gazebo_ros_pkgs with gazebo8, ros will also be needed to build from source.

I started following tutorials to build each of these projects from source. I created a separate catkin workspace for each of these projects

  • catkin_ros
  • catkin_gazebo
  • catkin_gazebo_ros

I downloaded the source file in the appropriate source folders, and used the build commands provided in the tutorials to build all the projects.

For gazebo this was :


For ros this was:

catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Debug

The problem is, that if I source both the catkin_gazebo/devel/setup.bash and the catkin_ros/devel/setup.bash files, the latter will overwrite the initial one.

I have tried putting all projects into one catkin workspace, but then I have no idea how to build all projects with a single command (I don't really get the difference between catkin build and catkin_make_isolated)

I hope someone can clarify the correct process to build both these projects from source.

edit retag flag offensive close merge delete