Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 20d4fdb

Browse files
Create bci_startup.sh
1 parent f2620bc commit 20d4fdb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bci_startup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Stop any running instances of main.py
2+
sudo pkill -f /home/archie/modular-biped/main.py
3+
# Enable camera module
4+
sudo modprobe bcm2835-v4l2
5+
# Start the GPIO daemon
6+
sudo pigpiod
7+
# Start the main script with 'bci' as the argument
8+
sudo python3 /home/archie/modular-biped/main.py bci

0 commit comments

Comments
 (0)