diff --git a/examples/reachy2-remote/parse_bbox.py b/examples/reachy2-remote/parse_bbox.py index 88667769..c1a992a4 100644 --- a/examples/reachy2-remote/parse_bbox.py +++ b/examples/reachy2-remote/parse_bbox.py @@ -50,7 +50,7 @@ def extract_bboxes(json_text): for event in node: if event["type"] == "INPUT": if len(event["value"]) == 0: - node.send_output("bbox", pa.array([])) + node.send_output("bbox_track", pa.array([])) continue text = event["value"][0].as_py() diff --git a/examples/reachy2-remote/parse_point.py b/examples/reachy2-remote/parse_point.py index 7e9990da..307d5d55 100644 --- a/examples/reachy2-remote/parse_point.py +++ b/examples/reachy2-remote/parse_point.py @@ -32,20 +32,20 @@ for event in node: x_distance = min(height, height - point[1]) if abs(rz) > 0.75: - rz = np.deg2rad(90) * np.sign(rz) + rz = np.deg2rad(75) * np.sign(rz) if abs(rz) > 0.5: - rz = np.deg2rad(60) * np.sign(rz) + rz = np.deg2rad(50) * np.sign(rz) elif abs(rz) > 0.3: - rz = np.deg2rad(55) * np.sign(rz) - elif abs(rz) > 0.1: rz = np.deg2rad(45) * np.sign(rz) + elif abs(rz) > 0.1: + rz = np.deg2rad(30) * np.sign(rz) else: x = 0 if x_distance > (height * 0.7): - x = 0.5 + x = 1.0 elif x_distance > (height * 0.5): - x = 0.5 + x = 0.7 elif x_distance > (height * 0.2): x = 0.5 else: