Skip to content

Commit

Permalink
Add more tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
msz-rai committed Dec 16, 2024
1 parent 8dc18e8 commit 4283da6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Assets/RGLUnityPlugin/Scripts/LidarModels/LaserArray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public struct LaserArray : IEquatable<LaserArray>
// |
// 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;

// | /
Expand All @@ -49,7 +50,7 @@ public struct LaserArray : IEquatable<LaserArray>
// . .
// .<----->.
// 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;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)")]
Expand Down

0 comments on commit 4283da6

Please sign in to comment.