object_database.cpp
Go to the documentation of this file.
1 
20 #include <ros/ros.h>
21 #include <ros/package.h>
22 #include <boost/filesystem.hpp>
25 
26 namespace fs = boost::filesystem;
27 
28 int main(int argc, char** argv) {
29  ros::init(argc, argv, "asr_object_database");
30 
31  // proper ros start
32  ros::start();
33 
34  fs::path basePath = ros::package::getPath("asr_object_database");
35  object_database::ObjectDatabase odb(basePath / "rsc/config.xml");
36 
37  ros::spin();
38 
39  // proper ros shutodwn
40  ros::shutdown();
41 
42  return 0;
43 }
44 
45 
ROSCPP_DECL void start()
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
ROSCPP_DECL void spin()
ROSLIB_DECL std::string getPath(const std::string &package_name)
ROSCPP_DECL void shutdown()


asr_object_database
Author(s): Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Braun Kai, Heizmann Heinrich, Heller Florian, Kasper Alexander, Marek Felix, Mehlhaus Jonas, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Walter Milena
autogenerated on Wed Jan 8 2020 03:12:13