From 5a7f335c53491c34bba7fa21020ff9412845317b Mon Sep 17 00:00:00 2001 From: "Yi-Hsiang Fang (Vivid)" <146902905+vividf@users.noreply.github.com> Date: Tue, 10 Sep 2024 11:07:16 +0900 Subject: [PATCH] fix: init tf tree visualization (#188) * fix: init tf tree visualization Signed-off-by: vividf * chore: fix error Signed-off-by: vividf --------- Signed-off-by: vividf --- .../sensor_calibration_manager/sensor_calibration_manager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sensor_calibration_manager/sensor_calibration_manager/sensor_calibration_manager.py b/sensor_calibration_manager/sensor_calibration_manager/sensor_calibration_manager.py index d4dbb24b..6f6ae7b4 100644 --- a/sensor_calibration_manager/sensor_calibration_manager/sensor_calibration_manager.py +++ b/sensor_calibration_manager/sensor_calibration_manager/sensor_calibration_manager.py @@ -286,7 +286,10 @@ def tfs_graph_callback(self, tfs_dict): self.tfs_graph_signal.emit(copy.deepcopy(tfs_dict)) def tf_graph_callback2(self, tfs_dict): - if self.calibrator.state != CalibratorState.WAITING_TFS: + if ( + self.calibrator.state != CalibratorState.WAITING_SERVICES + and self.calibrator.state != CalibratorState.WAITING_TFS + ): return for parent, children_and_tf_dict in tfs_dict.items():