11 #ifndef _VALOFLY_TETHERCOM_LIB_HEADER_
12 #define _VALOFLY_TETHERCOM_LIB_HEADER_
41 ss <<
"IO Exception: " << description;
58 virtual const char*
what()
const throw () {
59 return _exWhat.c_str();
79 ss <<
"Data Stream Exception: " << description;
96 virtual const char*
what()
const throw () {
97 return _exWhat.c_str();
248 TetherComImpl* _pImpl;
265 void getSerialPortsInfo(std::vector<std::string>& devListPort, std::vector<std::string>& devListDesc, std::vector<std::string>& devListHwID);
Data handling exception class.
Definition: TetherCom.h:65
DataException(const DataException &other)
Definition: TetherCom.h:87
DataException(const char *description)
Definition: TetherCom.h:76
virtual const char * what() const
Definition: TetherCom.h:96
IO handling exception class.
Definition: TetherCom.h:27
IOException(const char *description)
Definition: TetherCom.h:38
virtual const char * what() const
Definition: TetherCom.h:58
IOException(const IOException &other)
Definition: TetherCom.h:49
Communication class for ValoFly Tether.Solutions Ground Stations.
Definition: TetherCom.h:104
void getSystemStatus(systemStatus &sysStatus)
Definition: TetherCom.cpp:120
void openConnection(const std::string &portName)
Definition: TetherCom.cpp:60
std::string getLibProtocolVersion()
Definition: TetherCom.cpp:284
void setSystemActivation(bool activation)
Definition: TetherCom.cpp:168
void setCableRetractionStartLength(float startLength)
Definition: TetherCom.cpp:200
void getSystemStatusConfig(systemStatusConfig &conf)
Definition: TetherCom.cpp:216
void closeConnection()
Definition: TetherCom.cpp:72
void setConnectionTimeout(const unsigned int timeout)
Definition: TetherCom.cpp:94
bool isConnected()
Definition: TetherCom.cpp:89
void setSystemConfig(const systemConfig &conf)
Definition: TetherCom.cpp:152
void getSystemDetails(systemDetails &sysDetails)
Definition: TetherCom.cpp:104
void printSerialPortList()
Definition: TetherCom.cpp:50
int getConnectionTimeout()
Definition: TetherCom.cpp:99
void setCableRetractionTorque(float retractionTorque)
Definition: TetherCom.cpp:184
void getSystemConfig(systemConfig &config)
Definition: TetherCom.cpp:136
void setSystemStatusConfig(systemStatusConfig &conf)
Definition: TetherCom.cpp:232
void print()
Definition: TetherCom.cpp:248
int getConnectionStatus()
Definition: TetherCom.cpp:84
std::string getLibBuild()
Definition: TetherCom.cpp:274
void getSerialPortsInfo(std::vector< std::string > &devListPort, std::vector< std::string > &devListDesc, std::vector< std::string > &devListHwID)
Definition: TetherCom.cpp:45
Namespace for classes and members developed by ValoFly GmbH.
Definition: TetherCom.h:23
Definition: TetherCom.h:124
int retractionStatus
Definition: TetherCom.h:127
float retractionStartLength
Definition: TetherCom.h:129
float speed
Definition: TetherCom.h:126
int guideStatus
Definition: TetherCom.h:131
float lengthUnwound
Definition: TetherCom.h:125
int reelStatus
Definition: TetherCom.h:132
float retractionTorque
Definition: TetherCom.h:128
int tetherStatus
Definition: TetherCom.h:130
Definition: TetherCom.h:153
float mainsU
Definition: TetherCom.h:154
int ctrlSupplyStatus
Definition: TetherCom.h:158
int mainsStatus
Definition: TetherCom.h:157
float mainsF
Definition: TetherCom.h:156
float backupBatteryVoltage
Definition: TetherCom.h:159
int backupBatteryStatus
Definition: TetherCom.h:160
float mainsI
Definition: TetherCom.h:155
Definition: TetherCom.h:165
int extSupplyStatus
Definition: TetherCom.h:169
float uavVoltage
Definition: TetherCom.h:166
float uavPower
Definition: TetherCom.h:168
float uavCurrent
Definition: TetherCom.h:167
int uavBatCellCount
Definition: TetherCom.h:170
Definition: TetherCom.h:137
float temp3
Definition: TetherCom.h:140
int fan2RPM
Definition: TetherCom.h:147
float temp1
Definition: TetherCom.h:138
int fan1RPM
Definition: TetherCom.h:145
int fan2Status
Definition: TetherCom.h:148
float humidity
Definition: TetherCom.h:142
int fan1Status
Definition: TetherCom.h:146
float temp4
Definition: TetherCom.h:141
int envSensor1Status
Definition: TetherCom.h:144
float temp2
Definition: TetherCom.h:139
float pressure
Definition: TetherCom.h:143
Configuration parameter structure.
Definition: TetherCom.h:115
int cableRetractionStatus
Definition: TetherCom.h:119
float cableRetractionTorque
Definition: TetherCom.h:117
bool systemActivation
Definition: TetherCom.h:116
float cableRetractionStartLength
Definition: TetherCom.h:118
Definition: TetherCom.h:218
std::string lpwrCtrl
Definition: TetherCom.h:221
std::string mainCtrl
Definition: TetherCom.h:219
std::string reelCtrl
Definition: TetherCom.h:220
std::string backupBatteryCtrl
Definition: TetherCom.h:225
std::string netCtrl
Definition: TetherCom.h:224
std::string envCtrl
Definition: TetherCom.h:223
std::string hpwrCtrl
Definition: TetherCom.h:222
Definition: TetherCom.h:210
struct VALOFLY::TetherCom::systemDetails::softwareVerions softwareVerion
std::string dayOfProduction
Definition: TetherCom.h:214
uint32_t flightCount
Definition: TetherCom.h:234
int maintenance_required
Definition: TetherCom.h:240
uint32_t operationCount
Definition: TetherCom.h:236
std::string cableType
Definition: TetherCom.h:230
std::string model
Definition: TetherCom.h:212
uint32_t systemUseCount
Definition: TetherCom.h:238
uint32_t systemTimeSum
Definition: TetherCom.h:237
int maxPower
Definition: TetherCom.h:229
uint32_t operationTimeSum
Definition: TetherCom.h:235
uint32_t timeToMaintenance
Definition: TetherCom.h:239
std::string productType
Definition: TetherCom.h:211
std::string serialNumber
Definition: TetherCom.h:213
uint32_t flightTimeSum
Definition: TetherCom.h:233
std::string hardwareVersion
Definition: TetherCom.h:215
std::string uavCellVoltages
Definition: TetherCom.h:228
std::string protocolVersion
Definition: TetherCom.h:227
int maxCableLength
Definition: TetherCom.h:231
int networkType
Definition: TetherCom.h:232
Definition: TetherCom.h:175
uint32_t systemTime
Definition: TetherCom.h:179
int backupBatteryStatus
Definition: TetherCom.h:178
int activation
Definition: TetherCom.h:176
uint32_t operationTime
Definition: TetherCom.h:180
uint32_t flightTime
Definition: TetherCom.h:181
uint32_t operationFlightTimeSum
Definition: TetherCom.h:182
int retractionStatus
Definition: TetherCom.h:177
uint32_t operationFlightCountSum
Definition: TetherCom.h:183
int error
Definition: TetherCom.h:184
Definition: TetherCom.h:189
int energyUAVEnabled
Definition: TetherCom.h:193
int energyGSEnabled
Definition: TetherCom.h:192
int envEnabled
Definition: TetherCom.h:191
int systemStatesEnabled
Definition: TetherCom.h:194
int cableEnabled
Definition: TetherCom.h:190
Definition: TetherCom.h:199
systemStates sysStates
Definition: TetherCom.h:205
energyUAVStatus energyUAV
Definition: TetherCom.h:204
systemStatusConfig conf
Definition: TetherCom.h:200
envStatus env
Definition: TetherCom.h:202
energyGSStatus energyGS
Definition: TetherCom.h:203
cableStatus cable
Definition: TetherCom.h:201