Skip to content

projects/ janelia/

ycontroller

Setup Raspberry Pi

raspberrypi_setup notes

username: yuser
hostname: ycontroller

Connect to ycontroller from host machine using SSH or web console.

Y-Arena Source Files

Use the local source copy:

y-arena source files

Install dependencies

sudo apt install python3-filelock -y

Build Software Containers

cd ~/y-arena
cd software/y_arena_odor_controller_ros
docker stop $(docker ps -aq)
docker system prune -f
docker build -t y_arena_odor_controller:latest .

Run Setup Script

cd ~/y-arena/setup/
./ycontroller_setup install
sudo reboot

Check systemd service

systemctl status arena-attached@00.service
systemd-analyze plot > boot_analysis.svg

Updating

sudo apt update
sudo apt full-upgrade
cd ~/y-arena/setup/
./ycontroller_setup uninstall
./ycontroller_setup install
sudo reboot