Function rs2_export_localization_map

Function Documentation

const rs2_raw_data_buffer *rs2_export_localization_map(const rs2_sensor *sensor, rs2_error **error)

Extract and store the localization map of tm2 tracking device to file

Parameters:
  • sensor[in] TM2 position-tracking sensor

  • lmap_fname[in] The file name of the localization map

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

Device’s response in a rs2_raw_data_buffer, which should be released by rs2_delete_raw_data