Skip to content

Commit

Permalink
Visualize ground truth bounding boxes also when bridge is not connected
Browse files Browse the repository at this point in the history
  • Loading branch information
martins-mozeiko committed Sep 6, 2019
1 parent e814be0 commit 243d046
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Assets/Scripts/Sensors/GroundTruth2DSensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ private void Update()
Sequence = seqId++,
Data = Detected.Values.ToArray(),
});

Visualized = Detected.Values.ToArray();
Detected.Clear();
}

Visualized = Detected.Values.ToArray();
Detected.Clear();
}

Vector4 CalculateDetectedRect(Vector3 cen, Vector3 ext, Quaternion rotation)
Expand Down
6 changes: 3 additions & 3 deletions Assets/Scripts/Sensors/GroundTruth3DSensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ void Update()
Sequence = seqId++,
Data = Detected.Values.ToArray(),
});

Visualized = Detected.Keys.ToArray();
Detected.Clear();
}

Visualized = Detected.Keys.ToArray();
Detected.Clear();
}

public override void OnBridgeSetup(IBridge bridge)
Expand Down

0 comments on commit 243d046

Please sign in to comment.