36 : elementDataType(_elementDataType) {}
37 ScalarType const &GetElementDataType()
const {
return elementDataType; }
38 std::string GetDescription()
const {
return "imu data"; }
39 size_t GetSize()
const {
41 size += 3 * elementDataType.GetSize();
42 size += 3 * elementDataType.GetSize();
43 size += 3 * elementDataType.GetSize();
79 ImuData(
const Object *parent, std::string name =
"",
int n = 1);
184 Type
const &GetDataType()
const {
return dataType; }
195 void RawRead(
char *dst)
const;
215 void Queue(
char **dst,
const void *src,
size_t size)
const;
Abstract class for data types.
Definition: io_data.h:94
Base class for all Framework's classes.
Definition: Object.h:83
namespace of the flair Framework
Definition: Ahrs.h:19
void GetRawAccMagAndGyr(Vector3Df &rawAcc, Vector3Df &rawMag, Vector3Df &rawGyr) const
Get raw accelerations, magnetometers and angular speeds.
Vector3Df GetRawAcc(void) const
Get raw accelerations.
Abstract class for data types.
Class defining a 3D vector.
void SetRawAcc(const Vector3Df &rawAcc)
Set raw accelerations.
Abstract class for accessing an element of an io_data.
PlotableData_t
Datas wich can be plotted in a DataPlot1D.
Definition: ImuData.h:55
Vector3Df GetRawGyr(void) const
Get raw angular speed.
Vector3Df GetRawMag(void) const
Get raw magnetometers.
void SetRawMag(const Vector3Df &rawMag)
Set raw magnetometers.
void SetRawAccMagAndGyr(const Vector3Df &rawAcc, const Vector3Df &rawMag, const Vector3Df &rawGyr)
Set raw accelerations, magnetometers and angular speeds.
void SetRawGyr(const Vector3Df &rawGyr)
Set raw angular speed.
IODataElement * Element(PlotableData_t data_type) const
Element.
Abstract class for accessing an element of an io_data.
Definition: IODataElement.h:27
ImuData(const Object *parent, std::string name="", int n=1)
Constructor.
Class defining IMU datas.
Definition: ImuData.h:31