Skip to content

Commit fdcfd34

Browse files
authored
Merge pull request #4546 from arilowen/add-sensor-syncer
Add syncer support for sensor start method
2 parents 4c5df76 + f8c58cc commit fdcfd34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wrappers/python/python.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,9 @@ PYBIND11_MODULE(NAME, m) {
882882
.def("start", [](const rs2::sensor& self, std::function<void(rs2::frame)> callback) {
883883
self.start(callback);
884884
}, "Start passing frames into user provided callback.", "callback"_a)
885+
.def("start", [](const rs2::sensor& self, rs2::syncer syncer) {
886+
self.start(syncer);
887+
}, "Start passing frames into user provided syncer.", "callback"_a)
885888
.def("start", [](const rs2::sensor& self, rs2::frame_queue& queue) {
886889
self.start(queue);
887890
}, "start passing frames into specified frame_queue", "queue"_a)

0 commit comments

Comments
 (0)