docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SensorSpatialData

    Container holding the poses of the ego and sensor. Also optionally contains the ego velocity and acceleration.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    public struct SensorSpatialData

    Constructors

    Name Description
    SensorSpatialData(Pose, Pose, Vector3?, Vector3?)

    Create a new SensorSpatialData with the given values.

    Fields

    Name Description
    EgoAcceleration

    The acceleration of the ego (optional).

    EgoPose

    The pose of the ego.

    EgoVelocity

    The velocity of the ego (optional).

    SensorPose

    The pose of the sensor relative to the ego.

    Methods

    Name Description
    FromGameObjects(GameObject, GameObject)

    Create a SensorSpatialData from two GameObjects, one representing the ego and the other representing the sensor.

    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)