checking another node from node with rosnode package
Hi guys.
I want to check whether another node exist or not. I really want to use 'rosnode_ping(). (that is in rosnode package). But it doesn't work. Terminal said there is no rosnode_ping.
I think i should add some header or modify cmake file. If there is anyone who is useing rosnode package. Could i get some advice?
or if there is another way to check node, it will be great, too.
rosnode api and package link : http://docs.ros.org/jade/api/rosnode/...
Thanks for your interest, Ray.
/home/raptor/nav_ws/src/patrol_and_tracking/src/manager.cpp:19:34: error: ‘rosnode_ping’ was not declared in this scope
rosnode_ping("patrol");
^
patrol_and_tracking/CMakeFiles/manager.dir/build.make:62: recipe for target 'patrol_and_tracking/CMakeFiles/manager.dir/src/manager.cpp.o' failed
make[2]: *** [patrol_and_tracking/CMakeFiles/manager.dir/src/manager.cpp.o] Error 1
CMakeFiles/Makefile2:28967: recipe for target 'patrol_and_tracking/CMakeFiles/manager.dir/all' failed
make[1]: *** [patrol_and_tracking/CMakeFiles/manager.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2