19 #ifndef SRC_CORE_TG_SPRING_CABLE_ACTUATOR_H
20 #define SRC_CORE_TG_SPRING_CABLE_ACTUATOR_H
74 void scale (
double sf);
183 virtual void step(
double dt);
293 void constructorAux();
296 bool invariant()
const;
302 #endif // SRC_CORE_TG_SPRING_CABLE_ACTUATOR_H
virtual ~tgSpringCableActuator()
std::deque< double > tensionHistory
virtual const double getTension() const
virtual void setup(tgWorld &world)
virtual const double getStartLength() const
Definition of tgSubject class.
std::deque< double > dampingHistory
std::deque< double > restLengths
std::deque< double > lastVelocities
Contains the definition of class tgModel.
Definition of the tgControllable abstract base class.
virtual const tgSpringCableActuator::SpringCableActuatorHistory & getHistory() const
tgSpringCableActuator(tgSpringCable *springCable, const tgTags &tags, tgSpringCableActuator::Config &config)
tgSpringCable * m_springCable
virtual const double getVelocity() const
std::deque< double > lastLengths
const Config & getConfig() const
virtual void step(double dt)
virtual const double getRestLength() const
Config(double s=1000.0, double d=10.0, double p=0.0, bool h=false, double mf=1000.0, double tVel=100.0, double mnAL=0.1, double mnRL=0.1, double rot=0)
virtual const double getCurrentLength() const
SpringCableActuatorHistory *const m_pHistory
const tgSpringCable * getSpringCable() const