docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CorrectPointCloudMotion

    Represents a transcoder taking an input point cloud distorted by motion, and generating the corrected output point cloud.

    Inheritance
    object
    NodeRuntime
    Transcoder
    CorrectPointCloudMotion
    CorrectPointCloudMotionNode
    Inherited Members
    Transcoder.inTranscode
    Transcoder.outTranscode
    Transcoder._computeShader
    Transcoder.EnableInterfaceOnChangeEvent()
    Transcoder.DisableInterfaceOnChangeEvent()
    Transcoder.InitializeSensorSDKComputeShader(string, string)
    Transcoder.Release()
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.InternalInitialize()
    NodeRuntime.Start()
    NodeRuntime.OnTick(double, double, Scheduler.ClockState, Scheduler.Signal)
    NodeRuntime.Update()
    NodeRuntime.FixedUpdate()
    NodeRuntime.OnPortAdded(string, Type, string, PortDirection, FieldExtra, ref IPortType)
    NodeRuntime.OnPortRemoved(string)
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
    NodeRuntime.QueryPath
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    public class CorrectPointCloudMotion : Transcoder
    Remarks

    If a lidar moves during acquisition, each depth is measured at a different moment in time, and thus, each point has a different reference frame. This class adjusts the points so they are all expressed in the last pose of the reference frame. The correction assumes temporally equidistant points. If using a lidar with a custom firing sequence or a non-360 field-of-view, the correction will be inaccurate.

    Fields

    Name Description
    _correctedPointCloud

    Point cloud where motion distortion has been corrected.

    _prevReferenceToWorldPose

    Reference frame pose during the last call to Transcode(CustomPassContext).

    enableCorrection
    inPointCloud
    outPointCloud
    referenceToWorldTransform

    The Transform in which the point clouds are expressed.

    Properties

    Name Description
    ReferenceToWorldPose

    Retrieves the current pose of the reference frame.

    Methods

    Name Description
    Disable()

    Disable change event on the inTranscode port and release the graphics resources.

    Enable(ClockState)

    Initialize the transcoder shader and enable on change event on the on inTranscode port.

    Transcode(CustomPassContext)

    Add to the command buffer the conversion of the point cloud buffer into a depth buffer.

    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)