Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.02 KB

README.md

File metadata and controls

56 lines (45 loc) · 1.02 KB

Meow_Machine

Instructions and Code for the Meow Machine Robot for the Robot Studio course at Duke University

Usage Instructions

Accessing Raspberry Pi IP Address

Boot up the Raspberry pi while connected to a monitor and run

hostname -I

This will output the IP address

SSH Into the Raspberry Pi

From the command prompt run:

ssh jessica@"IP Address"

Input the password when prompted

Creating a Virtual Python Enviroment

Cd to the Meow_Machine directory and run:

python3 -m venv .venv  
source .venv/bin/activate    
sudo usermod -a -G tty jessica
sudo usermod -a -G dialout jessica

Restart the raspberry pi

Booting up the Virtual environment in the future

From now on, every time the raspberry pi restarts cd to the Meow_Machine directory and run:

source .venv/bin/activate    

Dancing!

While in the virtual environment run:

python3 dancing_robot_rpi.py   

Walking!

While in the virtual environment run:

python3 walking_robot_rpi.py