(Advanced) Parameters to configure a CenicIntegrator.
These are the CENIC-specific settings that can be given to a Simulator via drake::systems::SimulatorConfig::integrator_params. In YAML, they are selected with the !CenicIntegratorParameters tag. For example:
These are the settings that belong to CENIC itself, as opposed to the ICF solver it uses (which are in icf_solver).
#include <drake/multibody/cenic/cenic_integrator_parameters.h>
Public Member Functions | |
| template<typename Archive> | |
| void | Serialize (Archive *a) |
| Passes this object to an Archive. | |
Public Attributes | |
| bool | explicit_external_inputs {false} |
| Whether to treat the plant's external inputs (actuation and external forces) explicitly, i.e., hold them fixed at their values at the start of the step. | |
| contact_solvers::icf::IcfSolverParameters | icf_solver |
| Parameters for the ICF convex solver used by CENIC. | |
| void Serialize | ( | Archive * | a | ) |
Passes this object to an Archive.
Refer to YAML Serialization for background.
| bool explicit_external_inputs {false} |
Whether to treat the plant's external inputs (actuation and external forces) explicitly, i.e., hold them fixed at their values at the start of the step.
When false (the default), they are linearized with respect to velocity using finite differences so that they can be treated implicitly, which requires re-evaluating all upstream systems several times per step. Setting this to true skips that work, which is useful when the inputs come from expensive external systems, at the cost of reduced stability for stiff feedback controllers. This option can be used with or without error control. See also Explicit external inputs.
| contact_solvers::icf::IcfSolverParameters icf_solver |
Parameters for the ICF convex solver used by CENIC.