Struct SensorSpatialData
Container holding the poses of the ego and sensor. Also optionally contains the ego velocity and acceleration.
Inherited Members
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. |