|
DataAdapter::OutputTables | createTablesFromMatrices (double dataRate, const std::vector< std::string > &labels, const std::vector< double > ×, 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 |
| create a map of names to TimeSeriesTables. More...
|
|
virtual OutputTables | extendRead (const std::string &sourceName) const =0 |
| Implements reading functionality. More...
|
|
virtual void | extendWrite (const InputTables &tables, const std::string &sinkName) const =0 |
| Implements writing functionality. More...
|
|
◆ 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]
◆ AngularVelocity
const std::string OpenSim::IMUDataReader::AngularVelocity |
|
static |
◆ LinearAccelerations
const std::string OpenSim::IMUDataReader::LinearAccelerations |
|
static |
◆ MagneticHeading
const std::string OpenSim::IMUDataReader::MagneticHeading |
|
static |
◆ Orientations
const std::string OpenSim::IMUDataReader::Orientations |
|
static |
The documentation for this class was generated from the following file:
- OpenSim/Common/IMUDataReader.h