Ask Your Question

how often to build a package ?

asked 2020-10-16 16:51:41 -0500

skpro19 gravatar image

Let's say that I have a file inside my package/scripts folder. Do I need to rebuild the package everytime I modify my file?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-10-17 01:25:59 -0500

electrophod gravatar image

When you modify or write new Python nodes you need not build your package every time, because Python is an interpreted language and it need not be compiled. So you need to build your package only when you define service/actions/messages definitions, modify C++ codes. Have a look at all the things mentioned in CMakeLists.txt of a package to get an idea how makefile is generated by cmake.

edit flag offensive delete link more

answered 2020-10-16 18:01:58 -0500

Moneera Banjar gravatar image

The short answer is NO.

you don't need to run catkin_make after every modification on your code

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

1 follower


Asked: 2020-10-16 16:51:41 -0500

Seen: 25 times

Last updated: Oct 17