Skip to main content

Scene Feature Flags

To make the scene creation process more flexible we support optional feature flags that can be passed at scene creation time. Feature flags are used to turn on or off some options when creating scenes.

FeatureFlags is a set-like object that holds the flags. There are three ways to establish a set of flags:

  • Defaults (some flags will be set): FeatureFlags.default()
  • Empty (no flags are set): FeatureFlags()
  • Custom (exactly the specified flags are set): FeatureFlags(FeatureFlags.PointCloudFeatures.MOTION_COMPENSATION)

The FeatureFlags constructor takes one or more params, each of which is a flag from the lists defined below. If the argument feature_flags is not passed when creating a scene (i.e. feature_flags=None), then the default set will be used.

Currently Supported Features

PointCloudFeatures

FlagDefault stateDescription
MOTION_COMPENSATIONEnabledCauses motion compensation of point clouds using IMU data.