Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

using ros topic tool from c++


I need to implement a topic mux(several topics to a single target). I found out there is a tool for that! topic_tool mux does it. So all I need to do is to invoke topic_tool from my c++ code. but I can't find the way to do it or any example.

I saw that once I created a mux I can change it with ros services from my c++ code, but I don't know how to start the ros node except of running it from cmd.