Skip to content

Viewing Live Data from Lidar Device

mika edited this page Apr 18, 2024 · 1 revision

Setup

  • Follow connection instructions from the Lidar device manual
  • Use LAN cable between PC <> device, WIFI/router connections will cause too many UDP packet drops
  • Copy Device Angular Correction file from your device into StreamingAssets/ folder (and name it based on the model type: VLP32c.xml, VLP16.xml)

Connection issues

  • Try disabling Windows firewall to test if it works then (if yes, then you need to allow connections for Unity editor in firewall settings)

Viewer Settings

  • Disable [ ] Load At Start (to not load any local file for viewing)
  • Enable [x] AutoLoad Config On Detection (loads angular correction XML file when device type is detected)
  • Enable [x] Use Live Streaming (to open UDP listener)
  • Make sure you have correct cloud material assigned:
    • If you have NOT enabled [ ] Use Mesh Rendering, use "Velodyne_DX11_Uber.mat"
    • If you have enabled [x] Use Mesh Rendering, use "Velodyne_Mesh_Uber.mat"
  • Hit play in Unity (and start your lidar device)

Extras

  • You can download sample Angular Correction device files from here:
    UltraPuck/VLP32c
    Puck/VLP16
    *Note: Unzip and rename the XML files to be: VLP32c.xml, and VLP16.xml

Notes

  • You can record live data using this plugin, its i'd recommend recording with the device app (to keep all metadata).
Clone this wiki locally