object_database.cpp
Go to the documentation of this file.
00001 
00020 #include <ros/ros.h>
00021 #include <ros/package.h>
00022 #include <boost/filesystem.hpp>
00023 #include "object_database/ObjectDatabase.h"
00024 #include "object_database/ObjectManager.h"
00025 
00026 namespace fs = boost::filesystem;
00027 
00028 int main(int argc, char** argv) {
00029     ros::init(argc, argv, "asr_object_database");
00030 
00031         // proper ros start
00032     ros::start();
00033 
00034     fs::path basePath = ros::package::getPath("asr_object_database");
00035         object_database::ObjectDatabase odb(basePath / "rsc/config.xml");
00036 
00037         ros::spin();
00038 
00039         // proper ros shutodwn
00040         ros::shutdown();
00041 
00042         return 0;
00043 }
00044 
00045 


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 Thu Jun 6 2019 21:11:02