Almost successfully using CLion for ROS2 Development

Hello,

I have applied https://www.jetbrains.com/help/clion/ros2-tutorial.html to my projects, and I can build the project and workspace, and working definitively better than last time I tried.

However, when we use run/debug configurations, it asks for an executable. My project is in c++, however I am still using a python based launch file, in order to:

1. load parameters

2.I am using lifecyclenodes, so I register event handlers for ProcessStart, StateTransition, and Shutdown.

So it is not running a sinle executable. The parameters can be handled by running a seperate process, but the lifecyclenodes need to be triggered tru ros launch file.

How can I instrument the clion system to run ros commands? how can i instrument clion build system to run a ros command insteadd of the binary?

Any ideas or recomendations greatly appreciated.

Best Regards,

C.

 

0

请先登录再写评论。