LRAUV  revA
AHRS_sp3003DIF.h
Go to the documentation of this file.
1 
13 #ifndef AHRS_sp3003DIF_H_
14 #define AHRS_sp3003DIF_H_
15 
16 #include "data/ElementURI.h"
17 
27 namespace AHRS_sp3003DIF
28 {
31 static const Str NAME( "AHRS_sp3003D" );
32 
33 // Include common ConfigURIs -- must be in namespace and follow definition of NAME
37 #include "component/HasPowerIF.h"
38 #include "component/HasUartIF.h"
39 
40 static const DataURI COMPASS_ORIENTATION_READING( NAME, "CompassOrientation", Units::DEGREE );
41 static const DataURI COMPASS_TEMPERATURE_READING( NAME, "CompassTemperature", Units::CELSIUS );
42 
43 static const DataURI MX_READING( NAME, "Mx", Units::MILLIGAUSS );
44 static const DataURI MY_READING( NAME, "My", Units::MILLIGAUSS );
45 static const DataURI MZ_READING( NAME, "Mz", Units::MILLIGAUSS );
46 static const DataURI MT_READING( NAME, "Mt", Units::MILLIGAUSS );
47 
48 static const DataURI AX_READING( NAME, "Ax", Units::METER_PER_SECOND_SQUARED );
49 static const DataURI AY_READING( NAME, "Ay", Units::METER_PER_SECOND_SQUARED );
50 static const DataURI AZ_READING( NAME, "Az", Units::METER_PER_SECOND_SQUARED );
51 static const DataURI AT_READING( NAME, "At", Units::METER_PER_SECOND_SQUARED );
52 
53 static const ConfigURI MAG_DEVIATION_CFG( NAME, "magDeviation", Units::DEGREE );
54 static const ConfigURI PITCH_OFFSET_CFG( NAME, "pitchOffset", Units::DEGREE );
55 static const ConfigURI ROLL_OFFSET_CFG( NAME, "rollOffset", Units::DEGREE );
56 static const ConfigURI READ_ACCELERATIONS_CFG( NAME, "readAccelerations", Units::BOOL );
57 static const ConfigURI READ_MAGNETICS_CFG( NAME, "readMagnetics", Units::BOOL );
58 static const ConfigURI READ_MOUNTING_CFG( NAME, "verticalMounting", Units::BOOL );
59 }
60 
61 #endif /*AHRS_sp3003DIF_H_*/
Specifies URIs shared by components that can simulate their hardware Designed to be included within n...
static const Unit MILLIGAUSS
Definition: Units.h:190
Specifies URIs shared by components that have UARTS Designed to be included within namespace within [...
Definition: ElementURI.h:166
Replacement for standard template class string.
Definition: Str.h:12
Specifies URIs shared by components that can be loaded from modules at startup Designed to be include...
Contains the ElementURI class definition.
static const BaseUnit METER_PER_SECOND_SQUARED
Definition: Units.h:87
Specifies URIs shared by components that have a power consumption config setting Designed to be inclu...
Definition: ElementURI.h:229
Specifies URIs shared by components that have load controllers Designed to be included within namespa...
static const Unit CELSIUS
Definition: Units.h:110
static const Unit DEGREE
Definition: Units.h:132
static const BaseUnit BOOL
Definition: Units.h:227
Specifies the interface details for the AHRS_sp3003D component in the SensorModule.
Definition: AHRS_sp3003DIF.h:27