interface for classes (ODEDevices) that control a set of ode bodies that map to a RWSim dynamic device type.
More...
|
| ODESuctionCupDevice (ODEBody *base, rwsim::dynamics::SuctionCup *dev, ODESimulator *odesim, rw::kinematics::State &state) |
| Constructor. More...
|
|
void | init (ODEBody *base, rwsim::dynamics::SuctionCup *dev, ODESimulator *odesim, rw::kinematics::State &state) |
| Initialize the device. More...
|
|
virtual | ~ODESuctionCupDevice () |
| Destructor.
|
|
virtual void | reset (rw::kinematics::State &state) |
| 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) |
| 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) |
| 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...
|
|
rw::geometry::TriMesh::Ptr | getSpikedMesh () |
| Get spiked mesh. More...
|
|
ODEBody * | getEndBody () |
| Get the end body. More...
|
|
std::vector< ODEBody * > | getBodies () |
| Get the ODE bodies in the device. More...
|
|
virtual | ~ODEDevice () |
| destructor
|
|
interface for classes (ODEDevices) that control a set of ode bodies that map to a RWSim dynamic device type.