Skip to content

Commit

Permalink
Fixing Lidar performance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrefch committed Sep 23, 2024
1 parent b1a5050 commit 405c9f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected override void UpdateSensor()

JobHandle updateRaycastCommandsJobHandle = _updateRaycastCommandsJob.Schedule(pointsNum, 1);
JobHandle updateGaussianNoisesJobHandle = _updateGaussianNoisesJob.Schedule(pointsNum, 1, updateRaycastCommandsJobHandle);
JobHandle raycastJobHandle = RaycastCommand.ScheduleBatch(_raycastCommands, _raycastHits, pointsNum, updateGaussianNoisesJobHandle);
JobHandle raycastJobHandle = RaycastCommand.ScheduleBatch(_raycastCommands, _raycastHits, 256, updateGaussianNoisesJobHandle);
_jobHandle = _raycastHitsToPointsJob.Schedule(pointsNum, 1, raycastJobHandle);

JobHandle.ScheduleBatchedJobs();
Expand Down

0 comments on commit 405c9f3

Please sign in to comment.