![]() |
RobWorkProject
23.9.11-
|
class for adding a constant force to any body it controls More...
#include <ConstantForceManipulator.hpp>
Inherits BodyController.
Public Member Functions | |
| ConstantForceManipulator (const rw::math::Vector3D<> &force, std::vector< RWBody * > &bodies) | |
| constructor More... | |
| virtual | ~ConstantForceManipulator () |
| destructor | |
| void | addForces (rw::kinematics::State &state, double h) |
| add external forces to the bodies that this BodyManipulator controls. More... | |
| void | reset (rw::kinematics::State &state) |
| resets the state of the body controller to state More... | |
| std::vector< RWBody * > & | getBodies () |
| returns the list of bodies that are controlled More... | |
| void | setForce (const rw::math::Vector3D<> &f) |
| sets the force | |
| const rw::math::Vector3D & | getForce () |
| gets the force | |
class for adding a constant force to any body it controls
| ConstantForceManipulator | ( | const rw::math::Vector3D<> & | force, |
| std::vector< RWBody * > & | bodies | ||
| ) |
constructor
| force | |
| bodies |
|
virtual |
add external forces to the bodies that this BodyManipulator controls.
Implements BodyController.
|
inline |
returns the list of bodies that are controlled
|
inlinevirtual |
resets the state of the body controller to state
Implements BodyController.