Added: json history
Added: compare side +- inch
3 files changed
tree: 720b60839b179f24fe324d85a6d6a8da4920af75
  1. nbproject/
  2. CMakeLists.txt
  3. config.h
  4. pclBox.cpp
  5. README.md
  6. tools.cpp
  7. tools.h
README.md

Requirements

Compiling

Delete old files if exists:

rm -Rf CMakeFiles
rm CMakeCache.txt
rm cmake_install.cmake
rm Makefile
rm pclBox
rm boxDimenstions.json

Generate Makefile:

cmake .

Config JSON

Add following line in config.h for JSON output, and pclBox will add current box dimension in to boxDimenstions.json.

#define OUTPUTJSONFILE      "./boxDimenstions.json"

Compiling:

make

Running

Running:

./pclBox

Operate:

  • Clean desk;
  • Press "b" and wait until program save background (about 20 seconds);
  • Put the box on desk.