Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

catkin_make issue updating .srv and .cpp file simultaneously

Think of a situation where rosnode (written in c++) is using messages generated by a .srv file. You want to add a field to the .srv file and use it in the rosnode. If you make these changes simultaneously, catkin_make will fail because it does not yet recognize the new field you have added. Is there a way to make sure that message_generation occurs before compilation of c++ files during catkin_make? Would this even avoid the issue?