From a8fd6854815a4598e4a30a1c5055d27bcfe0606a Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 30 Jan 2024 14:26:00 +0100 Subject: [PATCH] Test script works with realsense capturer (except the data isn't correct because the algorithm hasn't been implemented yet) --- cwipc_realsense2 | 2 +- cwipc_util | 2 +- sandbox/threedpointfinder.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cwipc_realsense2 b/cwipc_realsense2 index dea78d3..f579f0e 160000 --- a/cwipc_realsense2 +++ b/cwipc_realsense2 @@ -1 +1 @@ -Subproject commit dea78d30309a2cc1920725fdea12a7acd47413a9 +Subproject commit f579f0eeb95793b08b985e01d8449f4cee78896a diff --git a/cwipc_util b/cwipc_util index 4f395ef..72551b3 160000 --- a/cwipc_util +++ b/cwipc_util @@ -1 +1 @@ -Subproject commit 4f395ef3558587cfd6a30aa4ffb67872c7bb4f1c +Subproject commit 72551b38a2569a26901dd6d8867a9b79cb1001c2 diff --git a/sandbox/threedpointfinder.py b/sandbox/threedpointfinder.py index 5264b2d..3539b3b 100644 --- a/sandbox/threedpointfinder.py +++ b/sandbox/threedpointfinder.py @@ -104,7 +104,7 @@ def main(): if not ok: print(f"serial {serial}: map2d3d failed") continue - _, rv_x, rv_y, rv_z = struct.unpack("ffff", outargs) + rv_x, rv_y, rv_z = struct.unpack("fff", outargs) print(f"serial {serial}: x={rv_x}, y={rv_y}, z={rv_z}")