Cannot locate node of type [mav_linear_mpc_node] in package [mav_linear_mpc]

Dear support,
the recipe below says: " I reworked the add_executable... line (and everything that followed) and voila, everything worked!"

https://answers.ros.org/question/342053/error-cannot-launch-node-of-type-cant-locate-node-in-package/

Please advise on the “rework”, I can’t quite figure it out…

Thanks
-R

It basically says that by using the line

add_executable(${PROJECT_NAME}_node src/whatever.cpp)

the node generated from this line will be named under your project (package) name. So if your package is named my_package, the node generated will be named my_package_node.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.