Skip to content

Latest commit

 

History

History
 
 

ouster_client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

OS1 Example Client

Contents

  • ouster_client/ contains a simple C++ client for the OS1 sensor that prints lidar data to the terminal
  • can be built both with and without ROS. See the instructions in ouster_ros/ for building in a ROS environment

Building the Sample Client

  • The sample client requires a compiler supporting C++11 or newer and CMake
  • Build with cd /path/to/ouster_example/ouster_client && mkdir build && cd build && cmake .. && make where /path/to/ouster_example is where you've cloned the repository

Running the Sample Client

  • Make sure the OS1 is connected to the network and has obtained a DHCP lease. See section 3.1 in the accompanying software user guide for more details
  • An executable called ouster_client_example is generated in the build directory on success
  • Run ./ouster_client_example <os1_hostname> <udp_data_dest_ip> where <os1_hostname> is the hostname or IP address of the OS1 sensor, and <udp_data_dest_ip> is the IP to which the sensor should send lidar data