API
4.3
For MATLAB, Python, Java, and C++ users
|
APDMDataReader is a class that reads files produced by IMU manufacturer APDM and produces datatables from them. More...
Public Member Functions | |
APDMDataReader ()=default | |
APDMDataReader (const APDMDataReaderSettings &settings) | |
virtual | ~APDMDataReader ()=default |
APDMDataReader * | clone () const override |
Public Member Functions inherited from OpenSim::IMUDataReader | |
IMUDataReader ()=default | |
IMUDataReader (const IMUDataReader &)=default | |
IMUDataReader (IMUDataReader &&)=default | |
IMUDataReader & | operator= (const IMUDataReader &)=default |
IMUDataReader & | operator= (IMUDataReader &&)=default |
virtual | ~IMUDataReader ()=default |
Public Member Functions inherited from OpenSim::DataAdapter | |
DataAdapter ()=default | |
DataAdapter (const DataAdapter &)=default | |
DataAdapter (DataAdapter &&)=default | |
DataAdapter & | operator= (const DataAdapter &)=default |
DataAdapter & | operator= (DataAdapter &&)=default |
virtual | ~DataAdapter ()=default |
DataAdapter::OutputTables | read (const std::string &dataSourceSpecification) const |
Public interface to read data from a dataSourceSpecification, typically a file or folder. More... | |
const std::shared_ptr< AbstractDataTable > | getDataTable (const OutputTables &tables, const std::string tableName) |
Generic interface to retrieve a specific table by name from read result. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from OpenSim::IMUDataReader | |
static const TimeSeriesTable_< SimTK::Quaternion_< double > > & | getOrientationsTable (const DataAdapter::OutputTables &tables) |
Custom accessors to retrieve tables of proper types without requiring users/scripters to cast. More... | |
static const TimeSeriesTableVec3 & | getLinearAccelerationsTable (const DataAdapter::OutputTables &tables) |
get table of LinearAccelerations as TimeSeriesTableVec3 More... | |
static const TimeSeriesTableVec3 & | getMagneticHeadingTable (const DataAdapter::OutputTables &tables) |
get table of MagneticHeading as TimeSeriesTableVec3 More... | |
static const TimeSeriesTableVec3 & | getAngularVelocityTable (const DataAdapter::OutputTables &tables) |
get table of AngularVelocity as TimeSeriesTableVec3 More... | |
Static Public Member Functions inherited from OpenSim::DataAdapter | |
static bool | registerDataAdapter (const std::string &identifier, const DataAdapter &adapter) |
Register a concrete DataAdapter by its unique string identifier. More... | |
APDMDataReader is a class that reads files produced by IMU manufacturer APDM and produces datatables from them.
This is intended to help consume IMU outputs.
|
default |
|
inline |
|
virtualdefault |
|
overridevirtual |
Implements OpenSim::DataAdapter.
|
overrideprotectedvirtual |
Typically, APDM can export a trial as one .h5 file (binary that we don't parse as of now) or as .csv ASCII text file that is comma delimited, grouped in order by sensor.
The function below reads the csv file . It produces a list of tables depending on the contents of the file read.
Barometer and Temperature data is ignored for now
Implements OpenSim::DataAdapter.
|
inlineoverrideprotectedvirtual |
Implements writing functionality, not implemented.
Implements OpenSim::DataAdapter.
|
inlineprotected |
Method to get const reference to the internal APDMDataReaderSettings object maintained by this reader.
|
inlineprotected |
Method to get writable reference to the internal APDMDataReaderSettings object maintained by this reader, to allow modification after construction.