Skip to content

Commit

Permalink
Merge 'origin/develop' into ae_exp_limit. FW: fix large exposure limi…
Browse files Browse the repository at this point in the history
…t for IMX462, IMX283, IMX296, IMX214
  • Loading branch information
alex-luxonis committed Nov 24, 2023
2 parents 060e8d0 + 6a10051 commit 2928a70
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/Depthai/DepthaiDeviceSideConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")

# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "fdaa38eebe7698b23bc608cb30eba06e9472a285")
set(DEPTHAI_DEVICE_SIDE_COMMIT "cae51725e78d8128ee7324c13f74648bcc59addc")

# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
8 changes: 8 additions & 0 deletions include/depthai/device/DeviceBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

// shared
#include "depthai-shared/common/ChipTemperature.hpp"
#include "depthai-shared/common/Connectivity.hpp"
#include "depthai-shared/common/CpuUsage.hpp"
#include "depthai-shared/common/MemoryInfo.hpp"
#include "depthai-shared/datatype/RawIMUData.hpp"
Expand Down Expand Up @@ -594,6 +595,13 @@ class DeviceBase {
*/
std::vector<CameraBoardSocket> getConnectedCameras();

/**
* Get connectivity for device
*
* @returns Vector of connection type
*/
std::vector<Connectivity> getConnectionInterfaces();

/**
* Get cameras that are connected to the device with their features/properties
*
Expand Down
2 changes: 1 addition & 1 deletion shared/depthai-shared
Submodule depthai-shared updated 0 files
4 changes: 4 additions & 0 deletions src/device/DeviceBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,10 @@ std::vector<CameraBoardSocket> DeviceBase::getConnectedCameras() {
return pimpl->rpcClient->call("getConnectedCameras").as<std::vector<CameraBoardSocket>>();
}

std::vector<Connectivity> DeviceBase::getConnectionInterfaces() {
return pimpl->rpcClient->call("getConnectivity").as<std::vector<Connectivity>>();
}

std::vector<CameraFeatures> DeviceBase::getConnectedCameraFeatures() {
return pimpl->rpcClient->call("getConnectedCameraFeatures").as<std::vector<CameraFeatures>>();
}
Expand Down

0 comments on commit 2928a70

Please sign in to comment.