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

How to modify python code without doing colcon build ?

asked 2020-08-12 02:52:25 -0600

tpeyruse gravatar image

In ROS1, when I modified a python code, I just had to re-run the node. In ROS2, the python code always has to be copied in python folders usinf colcon build. I see it is safer but for small development for prototyping, I often forget to "colcon build" (when I add breakpoint() for instance) Is it possible ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-08-13 13:24:51 -0600

Dirk Thomas gravatar image

All ROS 2 install-from-source instructions use the colcon build option -symlink-install.

The tutorials mention the option explicitly:

Also see the colcondocs about the command line option:

edit flag offensive delete link more

Question Tools


Asked: 2020-08-12 02:52:25 -0600

Seen: 388 times

Last updated: Aug 13 '20