Function rs2_import_localization_map
Defined in File rs_sensor.h
Function Documentation
-
int rs2_import_localization_map(const rs2_sensor *sensor, const unsigned char *lmap_blob, unsigned int blob_size, rs2_error **error)
Imports a localization map from file to tm2 tracking device
- Parameters:
sensor – [in] TM2 position-tracking sensor
lmap_blob – [in] Localization map raw buffer, serialized
blob_size – [in] The buffer’s size in bytes
error – [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
Non-zero if succeeded, otherwise 0