ConfigParser
-
class ConfigParser
The .yaml configuration parser. Parses all MAPLEParams and CamParams parameters.
Public Static Functions
-
static inline MAPLEParams ParseConfig(const std::string &cfg_file)
Parse the configuration .yaml file for MAPLE parameters, including FRC team number, .fmap file, and camera parameters.
- Parameters:
cfg_file – The path to your config.yaml file.
- Returns:
A struct of configuration parameters populated by the specified .yaml file.
-
static inline MAPLEParams ParseConfig(const std::string &cfg_file)