Hi,
I am using Orbbec Gemini 336L, C++ API. Is there a way to get the projector and ASIC temperatures of the camera? In the API I see only GetTemperature() for Gyro and Accel modules.
Thanks,
Jenna
Hi,
I am using Orbbec Gemini 336L, C++ API. Is there a way to get the projector and ASIC temperatures of the camera? In the API I see only GetTemperature() for Gyro and Accel modules.
Thanks,
Jenna
You could use " DEVICE_TEMPERATURE" to get the laser and camera temperature.
Thanks. What function should I use?
I see OB_STRUCT_DEVICE_TEMPERATURE
and function
void getStructuredData(OBPropertyID propertyId, void *data, uint32_t *dataSize);
But what is the return type? What should I cast “void *” to? Are there any docs or samples on this?
this works:
OBDeviceTemperature obTemp;
std::shared_ptr<ob::Device> device = m_pipeline->getDevice();
uint32_t dataSize = sizeof(OBDeviceTemperature);
device->getStructuredData(OB_STRUCT_DEVICE_TEMPERATURE, &obTemp, &dataSize);
std::cout << "OB mainBoardTemp: " << obTemp.mainBoardTemp << " °C" << std::endl;
std::cout << "OB cpuTemp: " << obTemp.cpuTemp << " °C" << std::endl;
std::cout << "OB rgbTemp: " << obTemp.rgbTemp << " °C" << std::endl;