This repo contains the software needed to run Ada.
The following is what is current:
The following are there for Archive
purposes only:
The raspberry pis also have a clone of this Ada git repo.
Each pi is named adapi1
, adapi2
, adapi3
.
The Server Admin account has SSH key setup for logging into each pi which you can do like this:
ssh pi@adapi1
Then check if RpiController
is already running using ps -ax
if it is you can kill it so you can update it as follows:
cd /home/pi/git/Ada
git pull
If you get new TeensyFirmware then run this:
cd /home/pi/git/Ada/TeensyFirmware
./flash.sh
Then to build the RpiController:
cd RpiController
mkdir build && cd build && cmake ..
make
Then you can launch it by running the run.sh
script in the RpiController folder.
You will see it connect to the Teensy over Serial, automatically finding the serial port:
Looking for server: ada-core...
Found Teensy at: /dev/ttyACM0, Teensyduino_USB_Serial_6116590
Using local ip "192.168.1.8"
Using server ip "192.168.1.11"
Auto-starting Sensei
It also connects to the Server named 'ada-core' and auto-starts the Sensei command which receives lighting commands from the Server.
When you reboot the pi it should do all this automatically, including git pull and build
so it will always be up to date and it will auto-start Sensei
mode.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.