Function ouster::sensor::get_metadata

Function Documentation

std::string ouster::sensor::get_metadata(client &cli, int timeout_sec = 60)

Get metadata text blob from the sensor.

Will attempt to fetch from the network if not already populated.

Parameters:
  • cli – client returned by init_client associated with the connection

  • timeout_sec – how long to wait for the sensor to initialize

Returns:

a text blob of metadata parseable into a sensor_info struct