10 #ifndef CARMA_ANTENNA_BIMA_TILTMETER_H
11 #define CARMA_ANTENNA_BIMA_TILTMETER_H
16 #include "carma/monitor/BimaSubsystem.h"
47 carma::monitor::BimaSubsystem &bmon
83 std::vector<carma::canbus::byteType> &data,
161 static const char API_VERSION =
'E';
164 static const double PACKET_LATE_THRESHOLD = 150.0;
189 void processBlankingFramePacket1(
190 std::vector<carma::canbus::byteType> &data);
191 void processBlankingFramePacket2(
192 std::vector<carma::canbus::byteType> &data);
193 void processBlankingFramePacket3(
194 std::vector<carma::canbus::byteType> &data);
195 void processBlankingFramePacket4(
196 std::vector<carma::canbus::byteType> &data);
197 void processBlankingFramePacket5(
198 std::vector<carma::canbus::byteType> &data);
199 void processBlankingFramePacket6(
200 std::vector<carma::canbus::byteType> &data);
214 void updateTiltMagAndDir(
double lrTilt,
double afTilt);
217 log4cpp::Category &log_;
218 carma::monitor::TiltmeterModule &mon_;
219 carma::monitor::BimaSubsystem &inputMon_;
void updateFrameData()
Update Frame Data.
carma::canbus::Message simulateMsg(carma::canbus::msgType mid)
Produce a simulated CAN message for a given msgType.
void setLoopRateConstant(float rateConst)
Set loop rate constant.
Declarations of carma::canbus types.
Class to encapsulate a CAN message.
void setLoopGain(float gain)
Set loop gain.
XacDevice canbus::device class implementation.
unsigned short apiType
Carma API id type.
void setLoopBandwidth(float bw)
Set loop bandwidth.
void writeLoopParametersToEEPROM()
Write loop parameters to EEPROM.
unsigned short nodeType
Carma Node Type id type.
virtual ~Tiltmeter()
Destructor.
void regulateTemperature(OpMode opMode, float pwrFract)
Regulate temperature.
void setTemperature(float temp)
Set temperature of the tiltmeter.
void processMsg(carma::canbus::msgType mid, std::vector< carma::canbus::byteType > &data, bool sim)
Process a CAN message addressed to the CryoCompressor module.
std::map< carma::canbus::msgType, std::string > getSlowMonitors() const
Return a map of this devices slow monitor points.
std::map< carma::canbus::msgType, std::string > getHalfSecMonitors() const
Retrieve a map of this devices half second monitor points.
carma::canbus::devices::XacDevice class declaration.
unsigned short msgType
Carma Message id type.
void setLoopIntegrationConstant(float loopInteg)
Set loop integration constant.
Tiltmeter(carma::canbus::nodeType node, carma::canbus::CanOutput &io, carma::monitor::BimaSubsystem &bmon)
Constructor.
OpMode
Enumeration for Thermal control operation mode.