Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 716 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 716 Bytes

Light Curtain Simulator

Code for simulating programmable light curtains.

Light curtain simulator

Installation

1. Clone repository.

git clone --recursive git@github.com:CMU-Light-Curtains/Simulator.git
cd Simulator

2. Build repository.

mkdir build && cd build
ANACONDA_ENV_PATH=/path/to/anaconda/env
cmake -DCMAKE_BUILD_TYPE=Release \
      -DPYTHON_EXECUTABLE:FILEPATH=$ANACONDA_ENV_PATH/bin/python \
      -DPYTHON_LIBRARY=$ANACONDA_ENV_PATH/lib/libpython3.so \
      -DPYTHON_INCLUDE_DIR=$ANACONDA_ENV_PATH/include/python3.7m ..
make -j
cd ..

3. Run the demo to ensure that the installation works.

cd python
python lc_sim.py