Positional Tracking Status
The Positional Tracking module provides real-time status information. The overall tracking state is returned by the getPosition function as a sl::POSITIONAL_TRACKING_STATE value.
Additionally, detailed 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::POSITIONAL_TRACKING_FUSION_STATUS tracking_fusion_status
The state of an area map export is returned separately by the getAreaExportState function, as a sl::AREA_EXPORTING_STATE value.
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.

