Positional Tracking Status
The Positional Tracking module provides real-time status information about the tracking state, odometry status, spatial memory status, and area exporting state through the getPosition function, which returns a sl::POSITIONAL_TRACKING_STATE value.
Additionally, detailed Visual Odometry tracking status can be accessed via the getPositionalTrackingStatus function, which returns a sl::PositionalTrackingStatus structure containing the following fields:
sl::ODOMETRY_STATUS odometry_statussl::SPATIAL_MEMORY_STATUS spatial_memory_statussl::AREA_EXPORTING_STATE area_exporting_state
POSITIONAL_TRACKING_STATE
Positional Tracking State indicates the current status of the positional tracking module. It provides insights into whether the tracking is functioning correctly or if there are any issues affecting its performance.
For more information, refer to the API documentation page.
Example: Access the Positional Tracking State information from the API
ODOMETRY_STATUS
Odometry Status indicates the current state of the Visual Odometry (VO) tracking process. It provides insights into whether the VO is functioning correctly or if there are any issues affecting its performance.
Example: Access the Odometry Status from the API
SPATIAL_MEMORY_STATUS (VSLAM Status)
Spatial Memory Status indicates the current state of the Visual SLAM (VSLAM) tracking process. It provides insights into whether the VSLAM is functioning correctly or if there are any issues affecting its performance.
Example: Access the Spatial Memory Status from the API
AREA_EXPORTING_STATE
Area Exporting State indicates the current status of the spatial memory exportation process. It provides insights into whether the exportation is functioning correctly or if there are any issues affecting its performance.

