Class PerceptionConfig
Defined in File perception_config.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public SetupConfig
Class Documentation
-
class PerceptionConfig : public SetupConfig
Public Functions
-
void loadPrevious(const std::filesystem::path &package_path, const YAML::Node &node) override
-
inline bool isConfigured() const override
-
inline const std::vector<SensorParameters> &getSensorPluginConfig()
Used for adding a sensor plugin configuration parameter to the sensor plugin configuration parameter list.
-
void clearSensorPluginConfig()
Clear the sensor plugin configuration parameter list.
-
void setConfig(const SensorParameters ¶meters)
-
inline void collectFiles(const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, std::vector<GeneratedFilePtr> &files) override
Public Static Functions
-
static std::vector<SensorParameters> load3DSensorsYAML(const std::filesystem::path &file_path)
Load perception sensor config.
Protected Attributes
-
std::vector<SensorParameters> sensors_plugin_config_parameter_list_
Sensor plugin configuration parameter list, each sensor plugin type is a map of string pairs.
-
bool changed_ = {false}
-
class GeneratedSensorConfig : public YamlGeneratedFile
Public Functions
-
inline GeneratedSensorConfig(const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, PerceptionConfig &parent)
-
inline bool hasChanges() const override
-
inline std::filesystem::path getRelativePath() const override
-
inline std::string getDescription() const override
-
bool writeYaml(YAML::Emitter &emitter) override
Protected Attributes
-
PerceptionConfig &parent_
-
inline GeneratedSensorConfig(const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, PerceptionConfig &parent)
-
void loadPrevious(const std::filesystem::path &package_path, const YAML::Node &node) override