Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
config_load.cpp
Go to the documentation of this file.
2
4std::string get_config_yaml_path(const std::string& package_name, const std::string& dir,
5 const std::string& filename) {
6 std::string package_prefix = ament_index_cpp::get_package_prefix(package_name);
7 std::string workspace_path = package_prefix + "/../../config/" + dir + "/" + filename + ".yaml";
8 return workspace_path;
9}
10} // namespace common_lib::config_load
std::string get_config_yaml_path(const std::string &package_name, const std::string &dir, const std::string &filename)