◆ IMUDataReader() [1/3]
OpenSim::IMUDataReader::IMUDataReader |
( |
| ) |
|
|
default |
◆ IMUDataReader() [2/3]
◆ IMUDataReader() [3/3]
◆ ~IMUDataReader()
virtual OpenSim::IMUDataReader::~IMUDataReader |
( |
| ) |
|
|
virtualdefault |
◆ createTablesFromMatrices()
DataAdapter::OutputTables OpenSim::IMUDataReader::createTablesFromMatrices |
( |
double |
dataRate, |
|
|
const std::vector< std::string > & |
labels, |
|
|
const std::vector< double > & |
times, |
|
|
const SimTK::Matrix_< SimTK::Quaternion > & |
rotationsData, |
|
|
const SimTK::Matrix_< SimTK::Vec3 > & |
linearAccelerationData, |
|
|
const SimTK::Matrix_< SimTK::Vec3 > & |
magneticHeadingData, |
|
|
const SimTK::Matrix_< SimTK::Vec3 > & |
angularVelocityData |
|
) |
| const |
|
protected |
create a map of names to TimeSeriesTables.
MetaData contains dataRate. The result can be passed to accessors above to get individual TimeSeriesTable(s) If a matrix has nrows = 0 then an empty table is created.
◆ getAngularVelocityTable()
get table of AngularVelocity as TimeSeriesTableVec3
◆ getLinearAccelerationsTable()
get table of LinearAccelerations as TimeSeriesTableVec3
◆ getMagneticHeadingTable()
get table of MagneticHeading as TimeSeriesTableVec3
◆ getOrientationsTable()
Custom accessors to retrieve tables of proper types without requiring users/scripters to cast.
Scripting friendly get table of Orientations as TimeSeriesTableQuaternion
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file:
- OpenSim/Common/IMUDataReader.h