launching ros launch file from program

asked 2021-07-15 08:19:04 -0500

dinesh gravatar image

updated 2021-07-15 08:24:39 -0500

I am developing a UI based on qt qml. Here i have succesfully used the roscpp client library to interface with ros. But i haven't found a way to launch ros launhc files from c++ program. I found that system function can be used but looks like this function is not portable and not suitable. How can i launch a ros launch file such that ros launch files can be launched from c++ file?

Here my requirement is to launch ros nodes present on remote raspberry pi from local computering running qt qml application with roscpp as client library to communicate with remote robots.

edit retag flag offensive close merge delete


This question has been asked before, see #q112556 and #q341272.

abhishek47 gravatar image abhishek47  ( 2021-07-15 22:47:20 -0500 )edit