- Install postgresql and create the database
# Install an enable postgres
sudo apt-get install postgresql
sudo systemctl enable postgresql
sudo systemctl start postgresql
# Create database and user
cd SUCHAI_Flight_Software/sandbox
sh database_setup.sh
cd -
## Enable remote access to db
# Add the following line to /etc/postgresql/<version>/main/postgresql.conf
listen_addresses='*'
# Add the following lines to /etc/postgresql/<version>/main/pg_hba.conf
host all all 0.0.0.0/0 md5 #ipv4 range
host all all ::0/0 md5 #ipv6 range
# Restart postgres
sudo systemctl restart postgresql
- Enable i2c
sudo raspi-config
5. Interfacing options -> I2C -> YES
6. Interfacing options -> SPI -> YES
- Download and configure the SUCHAI Flight Software
sh install.sh
- Build the payload software
mkdir build
cd build
cmake ..
make