00001 #ifndef STRUCTURES_9TKSKPHM 00002 #define STRUCTURES_9TKSKPHM 00003 00004 #include <opencv/cv.h> 00005 #include <stdint.h> 00006 #include <string> 00007 #include <yaml-cpp/yaml.h> 00008 00009 namespace bwi_common { 00010 00011 typedef cv::Point2f Point2f; 00012 00013 void readLocationFile(const std::string& filename, 00014 std::vector<std::string>& locations, std::vector<int32_t>& location_map); 00015 00016 class Door { 00017 public: 00018 std::string name; 00019 std::string approach_names[2]; 00020 Point2f approach_points[2]; 00021 float approach_yaw[2]; 00022 float width; 00023 }; 00024 00025 void readDoorFile(const std::string& filename, std::vector<Door>& doors); 00026 00027 } /* bwi_common */ 00028 00029 #endif /* end of include guard: STRUCTURES_9TKSKPHM */