35 tgDataLogger::tgDataLogger(std::string fileName) :
46 std::ofstream tgOutput;
47 tgOutput.open(m_fileName.c_str(), std::ios::app);
51 tgOutput << com[0] <<
","
61 std::ofstream tgOutput;
62 tgOutput.open(m_fileName.c_str(), std::ios::app);
virtual void render(const tgRod &rod) const
virtual const double getTension() const
Contains the definition of interface class tgDataLogger.
virtual btVector3 centerOfMass() const
Contains the definition of abstract base class tgSpringCableActuator. Assumes that the string is line...
virtual const double getRestLength() const
virtual double mass() const
Contains the definition of class tgRod.
virtual const double getCurrentLength() const
Definition of class tgBaseCPGNode.