SLAMTEC Aurora Public Remote SDK  1.2.0-rtm
Auto Floor Detection Operations

Functions for accessing Auto Floor Detection data. More...

Functions

slamtec_aurora_sdk_errorcode_t AURORA_SDK_API slamtec_aurora_sdk_autofloordetection_get_current_detection_desc (slamtec_aurora_sdk_session_handle_t handle, slamtec_aurora_sdk_floor_detection_desc_t *desc_out)
 Get the floor detection description of the current floor detected. More...
 
slamtec_aurora_sdk_errorcode_t AURORA_SDK_API slamtec_aurora_sdk_autofloordetection_get_all_detection_info (slamtec_aurora_sdk_session_handle_t handle, slamtec_aurora_sdk_floor_detection_desc_t *desc_buffer, size_t buffer_count, size_t *actual_count_out, int *current_floor_id)
 Get the floor detection descriptions of all floors detected. More...
 
slamtec_aurora_sdk_errorcode_t AURORA_SDK_API slamtec_aurora_sdk_autofloordetection_get_detection_histogram (slamtec_aurora_sdk_session_handle_t handle, slamtec_aurora_sdk_floor_detection_histogram_info_t *header_out, float *histogram_buffer, size_t buffer_count)
 Get the floor detection histogram. More...
 

Detailed Description

Functions for accessing Auto Floor Detection data.

Function Documentation

◆ slamtec_aurora_sdk_autofloordetection_get_all_detection_info()

slamtec_aurora_sdk_errorcode_t AURORA_SDK_API slamtec_aurora_sdk_autofloordetection_get_all_detection_info ( slamtec_aurora_sdk_session_handle_t  handle,
slamtec_aurora_sdk_floor_detection_desc_t desc_buffer,
size_t  buffer_count,
size_t *  actual_count_out,
int *  current_floor_id 
)

Get the floor detection descriptions of all floors detected.

Caller can use this function to get the floor detection information of all floors detected.

Parameters
handle- the session handle
desc_buffer- the buffer to store the floor detection information. If set to NULL, the function will return the number of floors detected.
buffer_count- the buffer count. If set to 0, the function will return the number of floors detected.
actual_count_out- the actual count of the floor detection information
current_floor_id- the current floor id will be stored in this pointer
Returns
the error code

◆ slamtec_aurora_sdk_autofloordetection_get_current_detection_desc()

slamtec_aurora_sdk_errorcode_t AURORA_SDK_API slamtec_aurora_sdk_autofloordetection_get_current_detection_desc ( slamtec_aurora_sdk_session_handle_t  handle,
slamtec_aurora_sdk_floor_detection_desc_t desc_out 
)

Get the floor detection description of the current floor detected.

Caller can use this function to get the current floor detection information, e.g. the typical height of the floor and the height range of the floor.

Parameters
handle- the session handle
desc_out- the floor detection description will be stored in this pointer
Returns
the error code

◆ slamtec_aurora_sdk_autofloordetection_get_detection_histogram()

slamtec_aurora_sdk_errorcode_t AURORA_SDK_API slamtec_aurora_sdk_autofloordetection_get_detection_histogram ( slamtec_aurora_sdk_session_handle_t  handle,
slamtec_aurora_sdk_floor_detection_histogram_info_t header_out,
float *  histogram_buffer,
size_t  buffer_count 
)

Get the floor detection histogram.

Caller can use this function to get the floor detection histogram.

Parameters
handle- the session handle
header_out- the header will be stored in this pointer
histogram_buffer- the buffer to store the histogram data. If set to NULL, the function will return the number of histogram bins.
buffer_count- the buffer count. If set to 0, the function will return the number of histogram bins.
Returns
the error code