Function navmap_ros::io::load_from_file
Defined in File navmap_io.hpp
Function Documentation
-
bool navmap_ros::io::load_from_file(const std::string &path, navmap::NavMap &out_map, std::error_code *ec = nullptr)
Load a
navmap::NavMapby deserializing a message and converting to core.Requires
navmap_coreheaders andnavmap_ros::from_msg.See also
- Parameters:
path – [in] Source file path.
out_map – [out] Output core map.
ec – [out] Optional error code; if not null, it will be set on failure.
- Returns:
trueon success,falseotherwise.