RobWorkProject  21.8.23-
Simulator::UpdateInfo Struct Reference

step info is used when updating controllers, devices and bodies. More...

#include <Simulator.hpp>

## Public Member Functions

UpdateInfo ()
constructor

UpdateInfo (double dt_step)
constructor

## Public Attributes

double dt
the timestep which is about to take place

double dt_prev
the timestep taken in previous step.

double time
current simulation time

bool rollback
if true then the previous step was unsuccessfull and a new step with new parameters is executed. Typically the dt is reduces. The time should be the same as previous call.

## Detailed Description

step info is used when updating controllers, devices and bodies.

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