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

It is possible to create a package having multiple programming languages. rclpy is a ROS 2 package containing both python and C. The same could be done with C++ and python.

In ROS 1 using catkin and calling catkin_python_setup() in a CMakeLists.txt causes a setup.py file to be called, but the CMake code has to be there even if the package has no C or C++ code. In ROS 2 a package can be pure python.