11 #ifndef CARMA_ANTENNA_OVRO_YIGPLL_H
12 #define CARMA_ANTENNA_OVRO_YIGPLL_H
17 #include "carma/monitor/OvroSubsystem.h"
18 #include "carma/util/PthreadCond.h"
19 #include "carma/util/PthreadMutex.h"
44 carma::monitor::OvroSubsystem & mon );
79 std::vector<carma::canbus::byteType> &data,
196 log4cpp::Category &log_;
197 carma::monitor::AntennaCommon &common_;
198 carma::monitor::OvroSubsystem::Yig &mon_;
214 volatile SequenceStateType state;
YIG PLL CAN module device class.
void setYigFrequencyWithoutLock(double freqInGhz)
Set the Yig frequency but don't lock - Engineering only.
void setYigFrequencyAndLockNoBlock(double freqInGhz)
Set the YIG lock frequency and lock.
Declarations of carma::canbus types.
Class to encapsulate a CAN message.
enum carma::antenna::ovro::YigPll::LockResult LockResultType
Indicates the result of the lockYigFrequency command.
void processMsg(carma::canbus::msgType mid, std::vector< carma::canbus::byteType > &data, bool sim)
Process a CAN message addressed from the YigPll module.
void extractTuneTable()
Extract the tune table.
std::map< carma::canbus::msgType, std::string > getSlowMonitors() const
Return a map of this devices slow monitor points.
A simple wrapper class that makes use of ::pthread_cond_t easier in a C++ world.
LockResult
Indicates the result of the lockYigFrequency command.
XacDevice canbus::device class implementation.
void updateFrameData()
Update Frame Data.
unsigned short nodeType
Carma Node Type id type.
void toggleSweep(bool on)
Toggle sweep - Engineering only.
::std::vector< ::carma::canbus::byteType > DataVector
Alias for CAN data.
YigPll(carma::canbus::nodeType node, carma::canbus::CanOutput &io, carma::monitor::OvroSubsystem &mon)
Constructor.
std::map< carma::canbus::msgType, std::string > getHalfSecMonitors() const
Retrieve a map of this devices half second monitor points.
carma::canbus::Message simulateMsg(carma::canbus::msgType mid)
Produce a simulated CAN message for a given msgType.
void setDampingResistance(unsigned short damping)
Set damping resistance - Engineering only.
carma::canbus::devices::XacDevice class declaration.
A simple wrapper class that makes use of ::pthread_mutex_t easier in a C++ world. ...
unsigned short msgType
Carma Message id type.
lockYigFrequency command timed out (error)
LockResultType setYigFrequencyAndLock(double freqInGhz)
Set the YIG lock frequency and lock.