4OI6 Capstone project. A garbage collecting rover.
conda install tensorflow-gpu
sudo apt-get install arduino -y
cd $workspace_directory
git clone https://github.com/nanpy/nanpy
git clone https://github.com/nanpy/nanpy-firmware
Under nanpy-firmware/Nanpy/, edit cfg.h to enable desired features. We will enable Ultrasonic by setting it to 1.
// GW Robotics Classes
#define USE_Ultrasonic 1
Then copy to Arduino sketchbook.
cp -avr nanpy-firmware/ ~/sketchbook/libraries
sudo python3 nanpy/setup.py install
Upload the firmware onto the Arduino
To run the ML model on a CUDA capable machine, navitage to software/ folder and run
python server.py
To start the project, SSH/Putty into the Raspberry Pi and run
python main.py
See API within subfolders (hardware)