Helper class for implementing rigid body vehicle simulation.
This is an example, using the RigidBody class as basis for implementation of equations of motion.
Definition PulsedBody.hxx:30
Vector force
For efficiency, auxiliary variable that represents a force vector.
Definition PulsedBody.hxx:44
RungeKuttaWorkspace workspace
Workspace for the RungeKutta integration.
Definition PulsedBody.hxx:54
Vector fpoint
Auxiliary variable, vector giving the point where the force is applied.
Definition PulsedBody.hxx:48
double tau_e
Time constant simulating the "engine" dynamics.
Definition PulsedBody.hxx:34
Vector gravity
Auxiliary variable, vector giving gravity.
Definition PulsedBody.hxx:51
void derivative(VectorE &xd, double dt_offset)
Function needed for integration.
double dt
Size of time steps.
Definition PulsedBody.hxx:37
void step()
Function that does an integration step.
Rigid body dynamics function, calculates derivative of a rigid body, given sum of moments and forces ...
Definition RigidBody.hxx:108