Drake C++ Documentation
SimulatorConfig Struct Reference

Detailed Description

The set of all configurable properties on a Simulator and IntegratorBase.

#include <drake/systems/analysis/simulator_config.h>

Public Member Functions

template<typename Archive >
void Serialize (Archive *a)
 Passes this object to an Archive. More...

Public Attributes

std::string integration_scheme {"runge_kutta3"}
double max_step_size {0.1}
double accuracy {1.0e-4}
bool use_error_control {true}
double target_realtime_rate {0.0}
bool publish_every_time_step {false}
 Sets Simulator::set_publish_at_initialization() in addition to Simulator::set_publish_every_time_step() when applied by ApplySimulatorConfig(). More...

Member Function Documentation

◆ Serialize()

void Serialize ( Archive *  a)

Passes this object to an Archive.

Refer to YAML Serialization for background.

Member Data Documentation

◆ accuracy

double accuracy {1.0e-4}

◆ integration_scheme

std::string integration_scheme {"runge_kutta3"}

◆ max_step_size

double max_step_size {0.1}

◆ publish_every_time_step

bool publish_every_time_step {false}

◆ target_realtime_rate

double target_realtime_rate {0.0}

◆ use_error_control

bool use_error_control {true}

The documentation for this struct was generated from the following file: