message: Display measured temp in examples/aditof-test
diff: #include <aditof/camera.h>
  #include <aditof/frame.h>
  #include <aditof/system.h>
  +#include <aditof/temperature_sensor_interface.h>
  #ifdef DATA_HANDLING
  #include <filesystem>
  #endif
  using namespace aditof;
  int _DisplayIR(cv::Mat *irMat, int *measuredDistance, int targetDistance,
  - float *precision);
  + float *precision, float *temperature);
  #ifdef DATA_HANDLING
  void saveData(cv::Mat irMat, cv::Mat depthMath, std::string eepromID);
  @@ -92,6 +93,7 @@ int main(int argc, char *argv[]) {
  int measuredDistance = 0;
  int targetDistance = 500;
  float precision;
  + float temperature = 0;
  while (true) {
  @@ -124,7 +126,7 @@ int main(int argc, char *argv[]) {
  if (captureStatus && !frameReceived) {
  if (_DisplayIR(&irMat, &measuredDistance, targetDistance,
  - &precision)) {
  + &precision, &temperature)) {
  cv::resize(irMat, irMat,
  cv::Size(irMat.cols * 0.65, irMat.rows * 0.65), 0, 0,
  CV_INTER_LINEAR);
  @@ -190,11 +192,16 @@ int main(int argc, char *argv[]) {
  }
  cvui::printf(frame, 360, 400, 0.5, 0xffffff, "Precision:");
  + cvui::printf(frame, 460, 400, 0.5, 0xffffff, "Temperature:");
  if (measuredDistance != 0) {
  cvui::printf(frame, 355, 420, "Value = %.2f", precision);
  }
  + if (temperature != 0) {
  + cvui::printf(frame, 475, 420, "Value = %.2f", temperature);
  + }
  +
  cvui::endColumn();
  cvui::endRow();
  @@ -219,7 +226,7 @@ int main(int argc, char *argv[]) {
  }
  int _DisplayIR(cv::Mat *irMat, int *measuredDistance, int targetDistance,
  - float *precision) {
  + float *precision, float *temperature) {
  Status status = Status::OK;
  @@ -339,13 +346,31 @@ int _DisplayIR(cv::Mat *irMat, int *measuredDistance, int targetDistance,
  }
  }
  + std::vector<std::shared_ptr<aditof::TemperatureSensorInterface>>
  + tempSensors;
  + camera->getTemperatureSensors(tempSensors);
  +
  + tempSensors[0]->read(*temperature);
  +
  std::ofstream MyFile("MeasuredResults.txt");
  MyFile << "Targed set at distance: " << targetDistance << std::endl;
  MyFile << "Camera measured: " << *measuredDistance << std::endl;
  MyFile << "Precision: " << *precision;
  MyFile.close();
  +/*
  + uint8_t eepromName[12];
  + std::vector<std::shared_ptr<aditof::StorageInterface>> eeprom;
  + camera->getEeproms(eeprom);
  +
  + std::ostringstream convert;
  + for (uint8_t i = 0x0016; i < 12; i++) {
  + convert << eeprom[i];
  + }
  +
  + std::string eepromID = convert.str();
  +*/
  - std::string eepromID = "DUMMYVAL"; //to be read from eeprom for each camera
  + std::string eepromID = "DUMMY";
  #ifdef DATA_HANDLING
  saveData(*irMat, depthMat, eepromID);
  