You must first install cppzmq
to enable the usage of controller
-
Installation on Mac: Type in the following script:
cd LightDance-RPi/scripts/ bash install_zeromq_mac.sh
Reference link: https://github.com/zeromq/cppzmq
-
Installation on RPi: Type in the following script:
cd LightDance-RPi/scripts/ bash install_zeromq_rpi.sh
Reference link: http://osdevlab.blogspot.com/2015/12/how-to-install-zeromq-package-in.html
# At LightDance-RPi/
pip3 install -r requirements.txt
bash scripts/py_formatter.sh
bash scripts/py_lint.sh
Bulid
cd controller
make
Run
sudo ./controller/controller ${dancerName}
# or
bash startController.sh
python3 cli/cli.py ${dancerName}
# or
bash startCLI.sh
# Startup Routine
bash setup.sh
# CLI
bash startCLI.sh