Robotics StackExchange | Archived questions

Building gazebo and ros from source using catkin

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 gazeborospkgs from source so that I can generate ros topics for the new sensor.

The documentation mentions that to use gazeborospkgs 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

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 :

catkin build -vi --cmake-args \ -DCMAKEBUILDTYPE=Debug \ -DBUILDCOREONLY=ON \ -DBUILDSHAREDLIBS=ON \ -DUSEDOUBLEPRECISION=ON \

For ros this was:

catkinmakeisolated --install -DCMAKEBUILDTYPE=Debug

The problem is, that if I source both the catkingazebo/devel/setup.bash and the catkinros/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 catkinmakeisolated)

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

Asked by Edwin Walsh on 2018-01-19 09:43:49 UTC

Comments

Answers