dmp
dmp copied to clipboard
The problem less the .h file in the include folder
When i catkin_make the package, i found the error is that in the dmp/include folder i cannot find these two .h files #include "dmp/LearnDMPFromDemo.h" #include "dmp/GetDMPPlan.h"
me too
When i catkin_make the package, i found the error is that in the dmp/include folder i cannot find these two .h files #include "dmp/LearnDMPFromDemo.h" #include "dmp/GetDMPPlan.h"
I think I have solved the problem.When you catkin_make the package,the msg and srv will generate xxx.h in ../../devel/include but the cmakelist don't include it. So just add ../../devel/include into include_directories in cmakelist.txt and catkin_make your package again.
For me, it worked by just adding the following code below line 43 of the cmakelist.txt file.
add_dependencies(dmp ${catkin_EXPORTED_TARGETS})