Added: standard OS project files to be filled out
3 files changed
tree: 07ac988706c61f957c76d74051da2822f0b1b73d
  1. nbproject/
  2. .gitignore
  3. CMakeLists.txt
  4. config.h
  5. CONTRIBUTING.md
  6. INSTALL.md
  7. LICENSE
  8. NOTICE
  9. pclBox.cpp
  10. README.md
  11. tools.cpp
  12. 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.