docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SamplingRequest

    Provides the necessary information to generate all the rays that were fired between the previous Unity Update and the current Unity Update.

    Inheritance
    object
    SamplingRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    public class SamplingRequest
    Remarks

    The trigger sequence gives the moment between Unity Updates when each firing sequence starts. The firing sequence provides the delay of each beam from the start of the firing sequence. beamPoses provide the pose of the ray with respect to the photosensor pose, at the moment the beam is fired.

    Fields

    Name Description
    beamIndexStart

    Define from which beam we want the first sample of this sampling request to start.

    beamPoses

    Position and orientation for each beam, which define the sampling origin. Sorted in output (elevation) order.

    deltaTime

    The elapsed time in seconds since the last Unity Update.

    fireIdxToBeamIdx

    A buffer mapping an index in the sorted firing sequence to a beam index in the laser config (sorted in output/elevation order).

    firingSequence

    This buffer describe the delay, in seconds, for each beam, before firing the laser since the moment the photosensor launch the firing sequence. Sorted in output (elevation) order.

    sampleCount

    Number of samples to take.

    samplingRate

    Sampling rate in samples per second.

    triggerSequence

    This buffer describe when the photosensor will launch a firing sequence. Sorted in chronological order.

    Methods

    Name Description
    Release()

    Release allocated graphic resources.

    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)