Function OS1::init_client(int, int)

Function Documentation

inline std::shared_ptr<client> OS1::init_client(int lidar_port = 7502, int imu_port = 7503)

Connect to and configure the sensor and start listening for data

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