RobWorkProject
24.12.4-
|
interface for classes (ODEDevices) that control a set of ode bodies that map to a RWSim dynamic device type. More...
#include <ODEDevice.hpp>
Inherited by ODEKinematicDevice, ODESuctionCupDevice, and ODEVelocityDevice.
Public Member Functions | |
virtual | ~ODEDevice () |
destructor | |
virtual void | reset (rw::kinematics::State &state)=0 |
resets the ODE device to the state values of the RWSim device. More... | |
virtual void | update (const rwlibs::simulation::Simulator::UpdateInfo &dt, rw::kinematics::State &state)=0 |
the update call is made prior to the simulation step. In this method states of the ODE bodies and joints (forces, velocities, eg) can be updated from the state of the RWSim device. More... | |
virtual void | postUpdate (rw::kinematics::State &state)=0 |
The post update is called after a simulation step has been performed. Here the modified states (force,velocity,position) of the ODE device is written back to the state object. More... | |
virtual std::vector< ODEBody * > | getBodies ()=0 |
Get the ODE bodies in the device. More... | |
interface for classes (ODEDevices) that control a set of ode bodies that map to a RWSim dynamic device type.
|
pure virtual |
Get the ODE bodies in the device.
Implemented in ODEVelocityDevice, ODESuctionCupDevice, and ODEKinematicDevice.
|
pure virtual |
The post update is called after a simulation step has been performed. Here the modified states (force,velocity,position) of the ODE device is written back to the state object.
state |
Implemented in ODEVelocityDevice, ODESuctionCupDevice, and ODEKinematicDevice.
|
pure virtual |
resets the ODE device to the state values of the RWSim device.
state |
Implemented in ODEVelocityDevice, ODESuctionCupDevice, and ODEKinematicDevice.
|
pure virtual |
the update call is made prior to the simulation step. In this method states of the ODE bodies and joints (forces, velocities, eg) can be updated from the state of the RWSim device.
dt | |
state | [out] ODEDevice state values are copied to state |
Implemented in ODEVelocityDevice, ODESuctionCupDevice, and ODEKinematicDevice.