Tags:
create new tag
view all tags

register.cpp Notes and Instructions

Executable takes the log file as a command line argument. Assumes that PCL pcd files are in the working directory. No additional processing of data (cleanup, downsample, etc...) is done. Loses the color info.

You can modify to preserve color by:

  1. Change the header in the pcd files from "rgb" to "rgba" (or modify rcv2pcd and reconvert your rcv point cloud files to pcd files with that header).
  2. Change the "PointXYZ" data type in register.cpp to "PointXYZRGBA"

File can be downloaded here:

Verion 1, 6-14-2011: register.tar.bz2

Version 2, 6-15-2011: register_v2.tar.bz2

Instructions:

Download and extract the files to a folder. It contains:

  1. Within that directory: mkdir build cd build cmake .. make register
  2. You need to convert the rcv point clouds to pcd. I downloaded all the rcv point clouds into a folder called "pointclouds_rcv". Using the bash script, I just tack on a ".pcd" to the txt filenames for simplicity, and the version of rcv2pcd I posted takes input and output filenames (I think I didn't change anything). Here's the bash script I used:

    for i in pointclouds_rcv/* do
    ./rcv2pcd $i $i.pcd
    done
  3. Then move the log file and the executable into the folder with the pcd files. I had some issues with the 14th set of scans, so I just deleted them from the log file.
  4. Finally, it outputs to hallway.pcd. You can view this by: pcd_viewer hallway.pcd.

Image 1 (register.cpp v1): No pre-processing; only odometry estimates--ca. 1.8 million points

screenshot-1308151462.png

Image 2 (register.cpp v2): statistical removal and downsampling of each individual point cloud--ca. 1.4 million points

hallway2.png

hallway2_screenshots.tar.bz2

* Set ALLOWTOPICVIEW = FRCVRoboticsGroup
* Set ALLOWTOPICCHANGE = FRCVRoboticsGroup

-- StephenFox - 2011-06-15

Topic attachments
I Attachment History Action SizeSorted descending Date Who Comment
Unknown file formatbz2 hallway2_screenshots.tar.bz2 r1 manage 6714.9 K 2011-06-22 - 15:39 UnknownUser screen shots of tilt hallway data june22
PNGpng screenshot-1308151462.png r1 manage 63.1 K 2011-06-15 - 16:04 UnknownUser  
PNGpng hallway2.png r1 manage 20.0 K 2011-06-15 - 20:15 UnknownUser  
Unknown file formatbz2 register_v2.tar.bz2 r1 manage 4.0 K 2011-06-15 - 20:24 UnknownUser  
Unknown file formatbz2 register.tar.bz2 r1 manage 3.8 K 2011-06-15 - 16:02 UnknownUser  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2017-06-12 - DamianLyons
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback