Multiple folders within same package(within same src folder)

asked 2016-06-07 18:04:18 -0500

asdfgf gravatar image

Is it possible to create nodes on multiple folders within the same packages(src) and let nodes communicate through a topic ?

If it is possible, can I know what needs to be manipulated within CMakeLists.txt and manifest.xml file ? If there is anything else which needs to be taken care to achieve this is helpful.

I would like to build a clean folder like structure for each sensor and actuator, keeping each nodes code in a seperate folder would be clean. Sensor publishes the data on topics to which actuators are subscribing.

edit retag flag offensive close merge delete


it is possible, after creating your new src code inside the already existing package, do: catkin_make --force-install to build them from the root directory, which is your main workspace, then run, if it needs new packages just add them in your cmakelist file. try it.

dinesh gravatar image dinesh  ( 2016-06-08 11:56:27 -0500 )edit