Skip to content

Getting Started

mika edited this page Dec 28, 2023 · 9 revisions

CONTENTS

View Sample PCAP File

  • Import Ouster Viewer package from Unity Asset Store into your project (or new project)
  • Open "OusterLidarViewer/Scenes/Ouster-Demo.unity" sample scene
  • Download sample pcap file from: https://data.ouster.io/sdk-samples/Rev-06-fw23/OS1-128_Rev-06_fw23_Urban-Drive_Dual-Returns.zip *Note Ouster sample data files are licenced as "CC BY-NC-SA license"
  • Place the pcap & json files inside: "Assets/StreamingAssets/Samples/"
  • image
  • Confirm that "#OusterViewer"-gameobject, OusterViewer script has FilePath: "Samples/OS1-128_Rev-06_fw23_Urban-Drive_Dual-Returns.pcap"
  • Confirm that "#OusterViewer"-gameobject, OusterViewer script has ConfigFile: "Samples/OS1-128_Rev-06_fw23_Urban-Drive_Dual-Returns.json"
  • image
  • Press Play!
  • You should see this: image
  • You can compare data with ouster online sample viewer: https://data.ouster.dev/share/D03HJ28ZX3245FQQ

Using LiveStreaming from Ouster Device (EXPERIMENTAL)

  • From OusterViewer gameobject, Disable "LoadAtStart"
  • Enable "UseLiveStreaming" (at the bottom of OusterViewer inspector)
  • NOTE: Currently you need to manually assign correct Data Profile in the Inspector *for example "RNG15_RFL8_NIR8" for OS-2-32 Low Data Rate.
  • NOTE: Currently you need to manually assign correct JSON profile file *for example "OS1-128_Rev-06_fw23_Urban-Drive_Dual-Returns.json" and that file should be inside "StreamingAssets/"-folder
  • Refer OUSTER documentation on how to connect device to your PC
  • Check that port is same as in OusterViewer (default is UDP 7502)
  • Press Play
Clone this wiki locally