1 #ifndef GCP_UTIL_AZ_TILT_METER_H
2 #define GCP_UTIL_AZ_TILT_METER_H
4 #include "gcp/util/common/MovingAverage.h"
5 #include "gcp/antenna/control/specific/OffsetBase.h"
6 #include "gcp/util/common/Angle.h"
7 #include "gcp/util/common/Exception.h"
13 using namespace gcp::util;
22 void setMovingAvgSampleCount(
unsigned int count);
28 void setTheta(
Angle theta);
30 void setRange(
Angle maxAngle) {
32 COUT(
"AzTiltMeter maxAngle = " << maxAngle.degrees());
36 COUT(
"AzTiltMeter offset x = " << x.degrees() <<
" y = " << y.degrees());
47 bool enabled() {
return meterEnabled_;};
49 Angle theta() {
return theta_;};
50 unsigned int movingAvgSampleCount() {
return avgCount_;};
55 const static unsigned int defaultAvgCount = 1000;
56 unsigned int avgCount_;
74 #endif // End #ifndef GCP_UTIL_AZ_TILT_METER_H
Definition: AzTiltMeter.h:15
Definition: OffsetBase.h:27
Definition: PointingCorrections.h:22
double radians()
Definition: Angle.h:79