Created
February 17, 2016 09:40
-
-
Save PierrickKoch/df2cebc354db4f599a7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| dir=$1 | |
| cd $dir/velodyne-dump | |
| for f in velodyneShot.pos.*; do | |
| i=${f##*.} # get the %04i indice | |
| ~/velodyne-tools/build/convert velodyneShot.$i $f cloud.$(printf %05i $((10#$i))).pcd | |
| done | |
| mkdir $dir-pcd | |
| mv cloud.*.pcd $dir-pcd/ | |
| tar czf $dir-pcd.tgz $dir-pcd | |
| scp $dir-pcd.tgz samus:/net/cetus/data1/robots/mana/ | |
| cd $dir-pcd | |
| ~/work/atlaas/python/process.py | |
| gdal_fastmerge atlaas.*x*.tif out2.tif | |
| gdal_translate -b 4 -outsize 50% 50% out2.tif out2b4.tif | |
| ~/work/atlaas/tools/cmapclim.py out2b4.tif -1 5 | |
| xdg-open out2b4.tif.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment