|
5 | 5 |
|
6 | 6 | // depthai/ |
7 | 7 | #include "depthai/common/CameraBoardSocket.hpp" |
| 8 | +#include "depthai/common/M8FsyncRoles.hpp" |
8 | 9 | #include "depthai/common/CameraFeatures.hpp" |
9 | 10 | #include "depthai/common/CameraImageOrientation.hpp" |
10 | 11 | #include "depthai/common/CameraSensorType.hpp" |
@@ -50,6 +51,7 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack) { |
50 | 51 | py::class_<Quaterniond> quaterniond(m, "Quaterniond", DOC(dai, Quaterniond)); |
51 | 52 | py::class_<Size2f> size2f(m, "Size2f", DOC(dai, Size2f)); |
52 | 53 | py::enum_<CameraBoardSocket> cameraBoardSocket(m, "CameraBoardSocket", DOC(dai, CameraBoardSocket)); |
| 54 | + py::enum_<M8FsyncRole> m8FsyncRole(m, "M8FsyncRole", DOC(dai, M8FsyncRole)); |
53 | 55 | py::enum_<ConnectionInterface> connectionInterface(m, "connectionInterface", DOC(dai, ConnectionInterface)); |
54 | 56 | py::enum_<CameraSensorType> cameraSensorType(m, "CameraSensorType", DOC(dai, CameraSensorType)); |
55 | 57 | py::enum_<CameraImageOrientation> cameraImageOrientation(m, "CameraImageOrientation", DOC(dai, CameraImageOrientation)); |
@@ -221,6 +223,12 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack) { |
221 | 223 | }); |
222 | 224 | HEDLEY_DIAGNOSTIC_POP |
223 | 225 |
|
| 226 | + // M8FsyncRole enum bindings |
| 227 | + m8FsyncRole.value("AUTO_DETECT", M8FsyncRole::AUTO_DETECT) |
| 228 | + .value("MASTER_WITHOUT_OUTPUT", M8FsyncRole::MASTER_WITHOUT_OUTPUT) |
| 229 | + .value("MASTER_WITH_OUTPUT", M8FsyncRole::MASTER_WITH_OUTPUT) |
| 230 | + .value("SLAVE", M8FsyncRole::SLAVE); |
| 231 | + |
224 | 232 | // CameraSensorType enum bindings |
225 | 233 | cameraSensorType.value("COLOR", CameraSensorType::COLOR) |
226 | 234 | .value("MONO", CameraSensorType::MONO) |
|
0 commit comments