bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::cosim::CouplingConfig Struct Reference

How a co-simulation couples its subsystems. More...

#include <coupling.h>

Public Attributes

CouplingScheme scheme {CouplingScheme::JACOBI}
uint_t max_iterations {1}
 JACOBI: the most tries of a macro step; 1 couples loosely.
real_t tolerance {1e-10}
 JACOBI: done when no input moves by more than this.
real_t relaxation {1.0}
bool extrapolate {false}

Detailed Description

How a co-simulation couples its subsystems.

Member Data Documentation

◆ extrapolate

bool bitsim::cosim::CouplingConfig::extrapolate {false}

Guess the inputs at the end of a step by a straight line through those at its start and at the start of the step before, not by holding them

◆ max_iterations

uint_t bitsim::cosim::CouplingConfig::max_iterations {1}

JACOBI: the most tries of a macro step; 1 couples loosely.

◆ relaxation

real_t bitsim::cosim::CouplingConfig::relaxation {1.0}

JACOBI: the next guess is g + relaxation (v - g)

◆ scheme

CouplingScheme bitsim::cosim::CouplingConfig::scheme {CouplingScheme::JACOBI}

◆ tolerance

real_t bitsim::cosim::CouplingConfig::tolerance {1e-10}

JACOBI: done when no input moves by more than this.


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