From 4283da6aa151307f3aa0eccd7c2c7a64c2f7dabb Mon Sep 17 00:00:00 2001 From: Mateusz Szczygielski Date: Mon, 16 Dec 2024 15:22:19 +0100 Subject: [PATCH] Add more tooltips --- Assets/RGLUnityPlugin/Scripts/LidarModels/LaserArray.cs | 3 ++- .../RGLUnityPlugin/Scripts/LidarModels/LidarConfiguration.cs | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Assets/RGLUnityPlugin/Scripts/LidarModels/LaserArray.cs b/Assets/RGLUnityPlugin/Scripts/LidarModels/LaserArray.cs index e988bab0c..eb9fc18c7 100644 --- a/Assets/RGLUnityPlugin/Scripts/LidarModels/LaserArray.cs +++ b/Assets/RGLUnityPlugin/Scripts/LidarModels/LaserArray.cs @@ -35,6 +35,7 @@ public struct LaserArray : IEquatable // | // Note: It is not always lay on the axis of symmetry of the device (e.g., hybrid solid-state LIDARs) // This offset is not considered when generating laser poses. To be applied manually when setting the pose of the lidar (in RGL). + [Tooltip("Offset from the game object origin to the sensor origin.")] public Vector3 centerOfMeasurementLinearOffsetMm; // | / @@ -49,7 +50,7 @@ public struct LaserArray : IEquatable // . . // .<----->. // this distance - // Distance from the sensor center to the focal point where all laser beams intersect. + [Tooltip("Distance from the sensor center to the focal point where all laser beams intersect.")] public float focalDistanceMm; /// diff --git a/Assets/RGLUnityPlugin/Scripts/LidarModels/LidarConfiguration.cs b/Assets/RGLUnityPlugin/Scripts/LidarModels/LidarConfiguration.cs index 306fe81af..0fb32ed13 100644 --- a/Assets/RGLUnityPlugin/Scripts/LidarModels/LidarConfiguration.cs +++ b/Assets/RGLUnityPlugin/Scripts/LidarModels/LidarConfiguration.cs @@ -26,7 +26,9 @@ namespace RGLUnityPlugin [Serializable] public abstract class BaseLidarConfiguration { - [Tooltip("Geometry description of lidar array")] + [Tooltip("List of lasers constituting this LiDAR.\n" + + "Note: For some (advanced) LiDARs, it may contain duplicates of lasers if one scan consist of multiple firing sequences.\n" + + "Note2: Laser's range is considered for non-uniform range LiDARs only (if configuration has no global range setting).")] public LaserArray laserArray; [Tooltip("The horizontal resolution of laser array firings (in degrees)")]