Function ouster::sensor::init_client(const std::string&, int, int)

Function Documentation

std::shared_ptr<client> ouster::sensor::init_client(const std::string &hostname = "", int lidar_port = 7502, int imu_port = 7503)

Listen for sensor data on the specified ports; do not configure the sensor.

Parameters:
  • lidar_port – port on which the sensor will send lidar data

  • imu_port – port on which the sensor will send imu data

Returns:

pointer owning the resources associated with the connection