How to output csv data files

Data can be saved directly as CSV files in the command line interface (CLI) with the command:

  • ouster-cli source os-xx slice 0:101 save test10.csv

    • where xx is the serial # of the sensor and ‘test10.csv’ is the name of the output file.
    • This command will save the first 102 frames as CSV files.

Data can be converted from pcap to CSV formats in the command line interface (CLI) with the command:

  • ouster-cli source test11.pcap slice 0:100 save test12.csv

    • where test11.pcap is the name of the pcap file and test12.csv is the name of the output CSV file.
    • 101 frames (or slices) will be saved with this command

Below is the key to the CSV file:

  • TIMESTAMP (ns)|Timestamp in nano seconds
  • ROW|Laser Channel number, Image Pixel row (0 to 127)
  • DESTAGGERED IMAGE COLUMN|Image Pixel column (0 to 1023)
  • MEASUREMENT_ID|Based on encoder position (0 to 1023)
  • RANGE (mm)|Range for 1st return
  • RANGE2 (mm)|Range for 2nd return
  • REFLECTIVITY (%)|Reflectivity for 1st return
  • REFLECTIVITY2 (%)|Reflectivity for 2nd return
  • NEAR_IR (photons)|Photons from ambient light (not lasers)
  • FLAGS|Blooming flag for 1st return
  • FLAGS2|Blooming flag for 2nd return
  • X1 (m)|Calculated Cartesian X coordinate of return
  • Y1 (m)|Calculated Cartesian Y coordinate of return
  • Z1 (m)|Calculated Cartesian Z coordinate of return
1 Like

@kghosal What do you think about making this public? I made some format edits in preparation.

Yes, that was the intent.