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.
1
#include "
common_lib/config_load/config_load.hpp
"
2
3
namespace
common_lib::config_load
{
4
std::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
config_load.hpp
common_lib::config_load
Definition
config_load.hpp:6
common_lib::config_load::get_config_yaml_path
std::string get_config_yaml_path(const std::string &package_name, const std::string &dir, const std::string &filename)
Definition
config_load.cpp:4
src
common_lib
src
config_load
config_load.cpp
Generated by
1.9.8