LRAUV  revA
MassServoIF.h
Go to the documentation of this file.
1 
13 #include "data/ElementURI.h"
14 
15 #ifndef MASSSERVOIF_H_
16 #define MASSSERVOIF_H_
17 
27 namespace MassServoIF
28 {
29 // Component name
30 static const Str NAME( "MassServo" );
31 
32 // Include common ConfigURIs -- must be in namespace and follow definition of NAME
36 #include "component/HasUartIF.h"
37 
38 // Include parent URIs -- must be in namespace and follow definition of NAME
39 #include "EZServoAllIF.h"
40 #include "EZServoLimitsIF.h"
41 #include "EZServoAccelOverloadIF.h"
42 #include "EZServoVelocityIF.h"
43 
44 static const ConfigURI TOTAL_TKS_CFG( NAME, "totalTks", Units::COUNT ); // Total encoder ticks for full mass shift travel
45 static const ConfigURI TKS_PER_MM_CFG( NAME, "tksPerMM", Units::COUNT_PER_MILLIMETER ); // Number of ticks for one rotation (1 mm of travel)
46 static const ConfigURI DEVIATION_DISTANCE( NAME, "deviationDistance", Units::MILLIMETER ); // Deviation allowed between expected and actual
47 }
48 
49 #endif /*MASSSERVOIF_H_*/
static const BaseUnit COUNT
Definition: Units.h:228
Specifies URIs shared by components that can simulate their hardware Designed to be included within n...
Specifies details shared by all EZServos.
Specifies details shared by all EZServos.
Specifies URIs shared by components that have UARTS Designed to be included within namespace within [...
Specifies details shared by all EZServos.
Specifies details shared by all EZServos.
Specifies the interface details for the MassServo component in the ServoModule.
Definition: MassServoIF.h:27
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 Unit COUNT_PER_MILLIMETER
Definition: Units.h:248
Specifies URIs shared by components that have load controllers Designed to be included within namespa...
static const Unit MILLIMETER
Definition: Units.h:166