35 : elementDataType(inElementDataType) {}
36 const ScalarType &GetElementDataType()
const {
return elementDataType; }
37 std::string GetDescription()
const {
return "ahrs data"; }
38 size_t GetSize()
const {
return 7 * elementDataType.GetSize(); }
159 const Type &GetDataType()
const {
return dataType; }
170 void RawRead(
char *dst)
const;
172 void Queue(
char **dst,
const void *src,
size_t size)
const;
178 Quaternion quaternion;
184 Vector3Df angularRates;
Abstract class for data types.
Definition: io_data.h:94
Quaternion GetQuaternion(void) const
Get quaternion.
Base class for all Framework's classes.
Definition: Object.h:83
namespace of the flair Framework
Definition: Ahrs.h:19
Definition: AhrsData.h:50
Definition: AhrsData.h:58
void SetQuaternion(const Quaternion &quaternion)
Set quaternion.
Vector3Df GetAngularRates(void) const
Get angular rates.
Class defining AHRS datas.
Definition: AhrsData.h:30
Abstract class for data types.
void GetQuaternionAndAngularRates(Quaternion &quaternion, Vector3Df &angularRates) const
Get both quaternion and angular rates.
Class defining a 3D vector.
AhrsData(const Object *parent, std::string name="", int n=1)
Constructor.
Definition: AhrsData.h:55
Definition: AhrsData.h:32
Definition: AhrsData.h:57
Definition: AhrsData.h:52
Abstract class for accessing an element of an io_data.
Definition: AhrsData.h:59
Class defining a quaternion.
Definition: AhrsData.h:63
Definition: AhrsData.h:60
Definition: AhrsData.h:62
void SetQuaternionAndAngularRates(const Quaternion &quaternion, const Vector3Df &angularRates)
Set both quaternion and angular rates.
Definition: AhrsData.h:49
Abstract class for accessing an element of an io_data.
Definition: IODataElement.h:27
Definition: AhrsData.h:56
void SetAngularRates(const Vector3Df &angularRates)
Set angular rates.
IODataElement * Element(PlotableData_t plotableData) const
Element.
Definition: AhrsData.h:61
Definition: AhrsData.h:51
Definition: AhrsData.h:53
PlotableData_t
Datas wich can be plotted in a DataPlot1D.
Definition: AhrsData.h:48
Class defining a quaternion.
Definition: Quaternion.h:26
Definition: AhrsData.h:54
Definition: AhrsData.h:64