Skip to content

Commit

Permalink
Refine warning message for dual return mode in LidarSensor
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Szczygielski <[email protected]>
  • Loading branch information
kielczykowski-rai and msz-rai authored Dec 13, 2024
1 parent 77ee395 commit 42e8779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/RGLUnityPlugin/Scripts/LidarSensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private void ApplyConfiguration(BaseLidarConfiguration newConfig)
if (!simulateBeamDivergence && IsDualReturnMode(returnMode))
{
Debug.LogWarning(
$"Dual return mode without {nameof(simulateBeamDivergence)} enabled will not take effect." +
$"{name}: Dual return mode without {nameof(simulateBeamDivergence)} enabled may not take desired effect." +
"Please refer to documentation if the return mode is desired.");
}

Expand Down

0 comments on commit 42e8779

Please sign in to comment.