浏览代码

polish

/manual_capture
Mohsen Kamalzadeh 4 年前
当前提交
97207c18
共有 2 个文件被更改,包括 1 次插入5 次删除
  1. 3
      com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs
  2. 3
      com.unity.perception/Runtime/GroundTruth/SimulationState.cs

3
com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs


if (!SensorHandle.IsValid)
return;
//m_AttachedCamera.enabled = SensorHandle.ShouldCaptureThisFrame;
bool anyVisualizing = false;
foreach (var labeler in m_Labelers)
{

return;
#endif
CaptureRgbData(cam);
//Debug.Log("===================== CAPTURING");
foreach (var labeler in m_Labelers)
{

3
com.unity.perception/Runtime/GroundTruth/SimulationState.cs


WritePendingCaptures();
WritePendingMetrics();
Debug.Log("next fdt: " + nextFrameDt);
Time.captureDeltaTime = nextFrameDt;
}

正在加载...
取消
保存