Skip to content

Instantly share code, notes, and snippets.

@ryanmeasel
Last active May 22, 2018 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanmeasel/428ffa74b7445dcf3bd1fd4163b93019 to your computer and use it in GitHub Desktop.
Save ryanmeasel/428ffa74b7445dcf3bd1fd4163b93019 to your computer and use it in GitHub Desktop.
PCL on OSX primer
  • Install: brew install pcl
  • Get install location: brew info pcl
  • Copy pcl_viewer into the path: cp $(PCL_INSTALL_DIR)/pcl_viewer.app/Contents/MacOS/pcl_viewer /usr/local/bin
  • Convert PLY to PCD: pcl_ply2pcd [INFILE] [OUTFILE]
  • View the point cloud in pcl viewer with point picking: pcl_viewer -use-point-picking [PCD_FILE]
  • To get the coordinates of a point, “SHIFT+CLICK” on a point. The coordinates are printed in the launching terminal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment