Store the controller configuration. More...
#include <mc_control/mc_global_controller.h>
Public Member Functions | |
GlobalConfiguration (const std::string &conf, std::shared_ptr< mc_rbdyn::RobotModule > rm=nullptr, bool conf_only=false) | |
bool | enabled (const std::string &ctrl) |
void | load_controllers_configs () |
void | load_plugin_configs () |
void | load_controller_plugin_configs (const std::string &controller, const std::vector< std::string > &plugins) |
Store the controller configuration.
mc_control::MCGlobalController::GlobalConfiguration::GlobalConfiguration | ( | const std::string & | conf, |
std::shared_ptr< mc_rbdyn::RobotModule > | rm = nullptr , |
||
bool | conf_only = false |
||
) |
Constructor
conf | Configuration file that should be loaded |
Main | robot module, if null use the MainRobot entry in conf to initialize it |
conf_only | If true, only load the specified configuration file |
|
inline |
void mc_control::MCGlobalController::GlobalConfiguration::load_controller_plugin_configs | ( | const std::string & | controller, |
const std::vector< std::string > & | plugins | ||
) |
void mc_control::MCGlobalController::GlobalConfiguration::load_controllers_configs | ( | ) |
void mc_control::MCGlobalController::GlobalConfiguration::load_plugin_configs | ( | ) |
Configuration mc_control::MCGlobalController::GlobalConfiguration::config |
std::vector<std::string> mc_control::MCGlobalController::GlobalConfiguration::controller_module_paths |
std::unordered_map<std::string, mc_rtc::Configuration> mc_control::MCGlobalController::GlobalConfiguration::controllers_configs |
bool mc_control::MCGlobalController::GlobalConfiguration::enable_gui_server = true |
bool mc_control::MCGlobalController::GlobalConfiguration::enable_log = true |
std::vector<std::string> mc_control::MCGlobalController::GlobalConfiguration::enabled_controllers |
std::unordered_map<std::string, mc_rtc::Configuration> mc_control::MCGlobalController::GlobalConfiguration::global_plugin_configs |
std::vector<std::string> mc_control::MCGlobalController::GlobalConfiguration::global_plugin_paths |
std::vector<std::string> mc_control::MCGlobalController::GlobalConfiguration::global_plugins |
std::vector<std::string> mc_control::MCGlobalController::GlobalConfiguration::global_plugins_autoload |
ControllerServerConfiguration mc_control::MCGlobalController::GlobalConfiguration::gui_server_configuration |
bool mc_control::MCGlobalController::GlobalConfiguration::include_halfsit_controller = true |
bool mc_control::MCGlobalController::GlobalConfiguration::init_attitude_from_sensor = false |
std::string mc_control::MCGlobalController::GlobalConfiguration::init_attitude_sensor |
std::string mc_control::MCGlobalController::GlobalConfiguration::initial_controller |
std::string mc_control::MCGlobalController::GlobalConfiguration::log_directory |
mc_rtc::Logger::Policy mc_control::MCGlobalController::GlobalConfiguration::log_policy = mc_rtc::Logger::Policy::NON_THREADED |
std::string mc_control::MCGlobalController::GlobalConfiguration::log_template = "mc-control" |
std::shared_ptr<mc_rbdyn::RobotModule> mc_control::MCGlobalController::GlobalConfiguration::main_robot_module |
std::vector<std::string> mc_control::MCGlobalController::GlobalConfiguration::observer_module_paths |
std::vector<std::string> mc_control::MCGlobalController::GlobalConfiguration::robot_module_paths |
double mc_control::MCGlobalController::GlobalConfiguration::timestep = 0.002 |
bool mc_control::MCGlobalController::GlobalConfiguration::verbose_loader = true |