api.assets.ExtrinsicParams#

class datagen.api.assets.ExtrinsicParams(*, location: Point = None, rotation: Rotation = None)#

The set of extrinsic parameters that define a camera’s position and orientation relative to the rest of the 3D environment.

For use with the Camera object.

location: Point#

The location of the camera in the 3D environment, in global coordinates measured in meters.

rotation: Rotation#

The orientation of the camera in the 3D environment, in Euler angles measured in degrees.

In the default orientation (yaw 0, pitch 0, roll 0), the camera is pointing in the +y direction.

Rotations are then applied in the order of yaw, pitch, then roll.