rtt_rospack_service.cpp
Go to the documentation of this file.
1 
30 #include <rtt/RTT.hpp>
31 #include <rtt/plugin/Plugin.hpp>
34 
35 #include <ros/package.h>
36 
37 using namespace RTT;
38 using namespace std;
39 
42 
43  ros->addOperation("find", &ros::package::getPath).doc(
44  "Returns the fully-qualified path to a package, or an empty string if the package is not found");
45 }
46 
47 using namespace RTT;
48 extern "C" {
50  if (c != 0) return false;
52  return true;
53  }
54  std::string getRTTPluginName (){
55  return "rospack";
56  }
57  std::string getRTTTargetName (){
58  return OROCOS_TARGET_NAME;
59  }
60 }
std::string getRTTPluginName()
boost::shared_ptr< Service > shared_ptr
ROSLIB_DECL std::string getPath(const std::string &package_name)
void loadROSPackService()
std::string getRTTTargetName()
bool loadRTTPlugin(RTT::TaskContext *c)
static RTT_API Service::shared_ptr Instance()


rtt_rospack
Author(s): Ruben Smits
autogenerated on Sat Jun 8 2019 18:05:09