From a4a0a079834de09e06a94b59782babf15e62e3ca Mon Sep 17 00:00:00 2001 From: Nils Hasler Date: Tue, 17 Dec 2024 12:24:48 +0100 Subject: [PATCH] another python example --- examples/polling.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/polling.py diff --git a/examples/polling.py b/examples/polling.py new file mode 100644 index 0000000..86dc69c --- /dev/null +++ b/examples/polling.py @@ -0,0 +1,18 @@ +import remotecaptury as rc + +# you can also add the port if it's different than 2101 +rc.connect("127.0.0.1") + +# sync remote and local clocks +rc.startSynchronizationLoop() + +# stream compressed (0x100) poses (0x001) +rc.startStreaming(0x101) + + + + + +rc.stopStreaming() + +rc.disconnect()