RobWorkProject  23.9.11-
Public Member Functions | List of all members
EulerIntegrator Class Reference

body motion integrator that use an implicit Euler formulation to calculate the motion of a body More...

#include <EulerIntegrator.hpp>

Inherits BodyIntegrator.

Public Member Functions

 EulerIntegrator (RWBody *body)
 constructor
 
virtual ~EulerIntegrator ()
 destructor
 
void updatePosition (double h, rw::kinematics::State &state)
 integrates velocity over timestep h to update the position of the body More...
 
void updateVelocity (double h, rw::kinematics::State &state)
 integrates forces over timestep h to update the velocity of the body More...
 
- Public Member Functions inherited from BodyIntegrator
virtual ~BodyIntegrator ()
 destructor More...
 

Detailed Description

body motion integrator that use an implicit Euler formulation to calculate the motion of a body

Member Function Documentation

◆ updatePosition()

void updatePosition ( double  h,
rw::kinematics::State state 
)
virtual

integrates velocity over timestep h to update the position of the body

Implements BodyIntegrator.

◆ updateVelocity()

void updateVelocity ( double  h,
rw::kinematics::State state 
)
virtual

integrates forces over timestep h to update the velocity of the body

Implements BodyIntegrator.


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