dart
Public Member Functions | List of all members
dart::simulation::Recording Class Reference

class Recording More...

#include <Recording.hpp>

Public Member Functions

 Recording (const std::vector< dynamics::SkeletonPtr > &_skeletons)
 Create Recording with a list of skeletons.
 
 Recording (const std::vector< int > &_skelDofs)
 Create Recording with a list of number of dofs.
 
virtual ~Recording ()
 Destructor.
 
int getNumFrames () const
 Get number of frames.
 
int getNumSkeletons () const
 Get number of skeletons.
 
int getNumDofs (int _skelIdx) const
 Get number of generalized coordinates of skeleton whoes index is _skelIdx.
 
int getNumContacts (int _frameIdx) const
 Get number of contacts at frame number _frameIdx.
 
Eigen::VectorXd getConfig (int _frameIdx, int _skelIdx) const
 Get skeleton configurations whose index is _skelIdx at frame number _frameIdx.
 
double getGenCoord (int _frameIdx, int _skelIdx, int _dofIdx) const
 Get _dofIdx-th single configruation of a skeleton whose index is _skelIdx at frame number _frameIdx.
 
Eigen::Vector3d getContactPoint (int _frameIdx, int _contactIdx) const
 Get contact point whose index is _contactIdx at frame number _frameIdx.
 
Eigen::Vector3d getContactForce (int _frameIdx, int _contactIdx) const
 Get contact force whose index is _contactIdx at frame number _frameIdx.
 
void clear ()
 Clear the saved histories.
 
void addState (const Eigen::VectorXd &_state)
 Add state.
 
void updateNumGenCoords (const std::vector< dynamics::SkeletonPtr > &_skeletons)
 Update list for number of generalized coordinates.
 

Detailed Description

class Recording


The documentation for this class was generated from the following files: