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

Revision history [back]

click to hide/show revision 1
initial version

Is one meant for c++ and the other for python?

Yes this is the main reason.

ament_cmake can be used for CMake package (usually C and C++), and provide some CMake magic to make things less verbose and more convenient to use with the ROS tools. It tells the build tool to build the package using a cmake workflow: cmake -> make -> make install. Some examples of packages available here

ament_python it is used for pure python packages and tells the build tools to use a setuptools workflow: python setup.py -> python setup.py install. Some examples of packages available here

I didn't find any explanation about the difference between both

It looks like a good area of improvement for the tutorial, as it should likely introduce these types in the introduction.