Ask Your Question
0

How to modify python code without doing colcon build ?

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

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
0

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

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: https://colcon.readthedocs.io/en/rele...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 26 times

Last updated: Aug 13