how to get the ros node list and log file directory path through C++ API in kinetic
below command will print the ros node list and path of the log file in terminal. I would like to know how to do same thing through ROS API in ROS C++ .
(1) below command will give output as a path of the log file.
roscd log
(2) below command will give output as a all running node.
rosnode list
I want to know the c++ API name which will return output of these commands. Is there any way to find the corrosponding API of all the commands running through terminal.
Regards, can-mohan
Asked by can-43811 on 2017-02-26 20:41:07 UTC
Comments