LRAUV  revA
ThrusterServoIF.h
Go to the documentation of this file.
1 
13 #include "data/ElementURI.h"
14 
15 #ifndef THRUSTERSERVOIF_H_
16 #define THRUSTERSERVOIF_H_
17 
27 namespace ThrusterServoIF
28 {
29 // Component name
30 static const Str NAME( "ThrusterServo" );
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 "EZServoPIDIF.h"
41 #include "EZServoAccelOverloadIF.h"
42 
43 static const ConfigURI ENCODER_TKS_CFG( NAME, "encoderTks", Units::COUNT ); // encoder tick/second multiplier
44 static const ConfigURI TKS_PER_REV_CFG( NAME, "tksPerRev", Units::COUNT_PER_REVOLUTION ); // encoder ticks/revolution as seen by the controller from HALL A&B
45 static const ConfigURI DEVIATION_CFG( NAME, "deviation", Units::COUNT ); // Number of encoder ticks deviation allowed between expected and actual
46 static const ConfigURI ALLOWABLE_BAD_VELOCITY_CFG( NAME, "allowableBadVelocity", Units::COUNT ); // Allowable Number of bad velocity reads
47 }
48 
49 #endif /*THRUSTERSERVOIF_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 URIs shared by components that have UARTS Designed to be included within namespace within [...
static const Unit COUNT_PER_REVOLUTION
Definition: Units.h:249
Specifies details shared by all EZServos.
Specifies the interface details for the ThrusterServo component in the ServoModule.
Definition: ThrusterServoIF.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.
Specifies URIs shared by components that have load controllers Designed to be included within namespa...
Specifies details shared by all EZServos.