LRAUV  revA
Depth_Keller.h
Go to the documentation of this file.
1 
12 #ifndef DEPTH_KELLER_H_
13 #define DEPTH_KELLER_H_
14 
16 #include "io/AnalogToDigital.h"
17 #include "io/LoadControl.h"
18 
21 
33 {
34 public:
35  Depth_Keller( const Module* module );
36  virtual ~Depth_Keller();
37 
38  void initialize();
39  void run();
40  void uninitialize();
41 
43  virtual ConfigURI getConfigURI( ConfigOption configOption ) const;
44 
45 private:
46 
47  // Note that the copy constructor below is private and not given a body.
48  // Any attempt to call it will return a compiler error.
49  Depth_Keller( const Depth_Keller& old ); // disallow copy constructor
50 
51  void readConfig();
52 
54 
57 
62 
63  // the pressure reading is out of bounds. We only want to report the error once
65 
67  float scale_;
70 
72 
73  // Instance of load controller
75 
76 };
77 
78 #endif /* DEPTH_Keller_H_ */
Contains the SyncComponent class definition.
Depth_Keller(const Module *module)
Definition: Depth_Keller.cpp:24
Contains the LoadControl class declaration.
AnalogToDigital adPressure_
Definition: Depth_Keller.h:71
A DataAccessor that reads values from the Slate Contains a default dataValue that must not be NULL...
Definition: UniversalDataReader.h:26
Abstract Base class for components that collect data for use later in the computation cycle...
Definition: SyncComponent.h:172
A DataAccessor that writes values to the Slate via its associated DataElement.
Definition: UniversalDataWriter.h:24
LoadControl loadControl_
Definition: Depth_Keller.h:74
void uninitialize()
Provide a space for uninitialization.
Definition: Depth_Keller.cpp:166
Contains the AnalogToDigital class declaration.
float scale_
Definition: Depth_Keller.h:67
bool pressBoundingError_
Definition: Depth_Keller.h:64
void readConfig()
Definition: Depth_Keller.cpp:52
ConfigReader * scaleCfgReader_
Definition: Depth_Keller.h:59
Definition: ElementURI.h:166
UniversalDataReader * latitudeReader_
Definition: Depth_Keller.h:53
void run()
The actual "payload" of the component.
Definition: Depth_Keller.cpp:71
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
float pressureOffset_
Definition: Depth_Keller.h:66
This class allows one to control loads on a load controller channel.
Definition: AnalogToDigital.h:22
void initialize()
Provide a space for initialization before being run.
Definition: Depth_Keller.cpp:60
This class allows one to control loads on a load controller channel.
Definition: LoadControl.h:24
virtual ~Depth_Keller()
Definition: Depth_Keller.cpp:49
float minPressBound_
Definition: Depth_Keller.h:69
Definition: ConfigReader.h:13
Provides software interface to the Keller depth sensor Can also use SimSlate to provide simulated dep...
Definition: Depth_Keller.h:32
ConfigReader * offsetCfgReader_
Definition: Depth_Keller.h:58
ConfigReader * maxPressBoundCfgReader_
Definition: Depth_Keller.h:60
virtual ConfigURI getConfigURI(ConfigOption configOption) const
Should return [myNamespace]::SIMULATE_HARDWARE, or [myNamespace]::POWER, etc.
Definition: Depth_Keller.cpp:170
ConfigOption
Definition: Component.h:456
float maxPressBound_
Definition: Depth_Keller.h:68
UniversalDataWriter * depthWriter_
Definition: Depth_Keller.h:55
ConfigReader * minPressBoundCfgReader_
Definition: Depth_Keller.h:61
UniversalDataWriter * pressureWriter_
Definition: Depth_Keller.h:56