39 #ifndef DART_SIMULATION_RECORDING_HPP_ 40 #define DART_SIMULATION_RECORDING_HPP_ 44 #include <Eigen/Dense> 46 #include "dart/dynamics/Skeleton.hpp" 61 explicit Recording(
const std::vector<dynamics::SkeletonPtr>& _skeletons);
64 explicit Recording(
const std::vector<int>& _skelDofs);
70 int getNumFrames()
const;
73 int getNumSkeletons()
const;
77 int getNumDofs(
int _skelIdx)
const;
80 int getNumContacts(
int _frameIdx)
const;
84 Eigen::VectorXd getConfig(
int _frameIdx,
int _skelIdx)
const;
88 double getGenCoord(
int _frameIdx,
int _skelIdx,
int _dofIdx)
const;
92 Eigen::Vector3d getContactPoint(
int _frameIdx,
int _contactIdx)
const;
96 Eigen::Vector3d getContactForce(
int _frameIdx,
int _contactIdx)
const;
102 void addState(
const Eigen::VectorXd& _state);
105 void updateNumGenCoords(
const std::vector<dynamics::SkeletonPtr>& _skeletons);
109 std::vector<Eigen::VectorXd> mBakedStates;
112 std::vector<int> mNumGenCoordsForSkeletons;
118 #endif // DART_SIMULATION_RECORDING_HPP_
Definition: Aspect.cpp:40
class Recording
Definition: Recording.hpp:57