Robotics StackExchange | Archived questions

launching ros launch file from program

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.

Asked by dinesh on 2021-07-15 08:19:04 UTC

Comments

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

Asked by abhishek47 on 2021-07-15 22:47:20 UTC

Answers