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

Revision history [back]

click to hide/show revision 1
initial version

I added my class.h and class.cpp under src folder but when I compile I cannot use this inside another class that implement a services of the package. Also if I add the class.h I see error such as 'int not a know type'. Maybe I am not configuring correctly my manifest.xml. I added this. I also placing class.h under include/mypackage doesn't change.

<cpp cflags="-I${prefix}/include" lflags="-L${prefix}/lib -Wl,-rpath,${prefix}/lib -lros"/>