28 std::string config_file =
34 hdmap_input_ = map::HDMapInput::Instance();
35 if (!hdmap_input_->
Init()) {
36 AINFO <<
"Failed to init hdmap input.";
44 AINFO <<
"Frame is nullptr.";
51 AINFO <<
"Hdmap input is nullptr";
56 AINFO <<
"Failed to query updated pose.";
69 AINFO <<
"Failed to get roi from hdmap.";
bool QueryPose(Eigen::Affine3d *sensor2world_pose) const
Query the pose
bool Init(const MapManagerInitOptions &options=MapManagerInitOptions())
Init of Map Manager
bool Update(const MapManagerOptions &options, LidarFrame *frame)
update map structure and lidar2world pose
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs,...
std::string GetConfigFile(const std::string &config_path, const std::string &config_file)
Eigen::Affine3d lidar2world_pose
std::shared_ptr< base::HdmapStruct > hdmap_struct
optional bool update_pose
optional double roi_search_distance