Program Listing for File sierra_config.hpp
↰ Return to documentation for file (cosm/ros/config/sierra_config.hpp
)
#pragma once
/*******************************************************************************
* Includes
******************************************************************************/
#include <string>
#include "cosm/cosm.hpp"
#include "rcppsw/config/base_config.hpp"
#include "rcppsw/types/timestep.hpp"
#include "rcppsw/types/hertz.hpp"
/*******************************************************************************
* Namespaces
******************************************************************************/
namespace cosm::ros::config {
/*******************************************************************************
* Structure Definitions
******************************************************************************/
struct sierra_experiment_config {
rtypes::timestep length{rtypes::constants::kNoTime};
std::string param_file{};
size_t n_robots{0};
rtypes::hertz ticks_per_sec{rtypes::constants::kNoRate};
bool barrier_start{false};
};
struct sierra_config final : public rconfig::base_config {
sierra_experiment_config experiment{};
};
} /* namespace cosm::ros::config */