44 .doc(
"Return full name of ROS node.");
46 .doc(
"Return ROS node namespace.");
54 log(
Info) <<
"Initializing ROS node in Orocos plugin..." <<
endlog();
64 std::vector<char *> argvv(argv, argv + argc);
65 assert(argvv.size() == argc);
72 log(
Warning) <<
"'roscore' is not running: no ROS functions will be available." <<
endlog();
91 log(
Info) <<
"ROS node spinner started (" << thread_count <<
" " << (thread_count > 1 ?
"threads" :
"thread") <<
")." <<
endlog();
101 return OROCOS_TARGET_NAME;
static void loadROSService()
std::string getRTTTargetName()
ROSCPP_DECL bool isInitialized()
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL const std::string & getName()
char ** __os_main_argv(void)
ROSCPP_DECL const std::string & getNamespace()
ROSCPP_DECL bool get(const std::string &key, std::string &s)
bool loadRTTPlugin(RTT::TaskContext *c)
std::string getRTTPluginName()
ROSCPP_DECL void shutdown()
static Logger::LogFunction endlog()
static RTT_API Service::shared_ptr Instance()