Skip to content

Commit

Permalink
fix: init tf tree visualization (#188)
Browse files Browse the repository at this point in the history
* fix: init tf tree visualization

Signed-off-by: vividf <[email protected]>

* chore: fix error

Signed-off-by: vividf <[email protected]>

---------

Signed-off-by: vividf <[email protected]>
  • Loading branch information
vividf authored Sep 10, 2024
1 parent 0e5d80f commit 5a7f335
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 5a7f335

Please sign in to comment.