Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
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.

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 start_time {0.0}
 Starting time of the simulation.
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().

Member Function Documentation

◆ Serialize()

template<typename Archive>
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}

◆ start_time

double start_time {0.0}

Starting time of the simulation.

We will set the context time to start_time at the beginning of the simulation.

◆ 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: