docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field relativeDepthError

    The relative depth error input is a curve that provides the relative error over the distance. The lidar range [minDistance, maxDistance] is normalized on the X axis between [0, 1]. This curve is uniformly sampled, by the photosensor, and sent to the shader as a 1D texture of 2048 samples.

    To compute the error, in the shader, we sample the relative depth error textured mentioned above based on the distance.We take a normally distributed random number and we scale it according to the relative error.Then we apply the error on the measured distance.

    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    [Tooltip("Apply the relative error corresponding to the curve with a normal distribution. (0 means no relative error).")]
    [Field("Relative depth error", PortDirection.Left, FieldExtra.Read)]
    [SerializeField]
    public PortType<AnimationCurve> relativeDepthError
    Returns
    Type Description
    PortType<AnimationCurve>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)