This repository houses the agent code for "Edison," an autonomous walking robot project utilizing Raspberry Pi for its brain. The agent operates in tandem with a command center, executing received commands and managing the robot's sensors and motor functions. This codebase is designed to run directly on the Raspberry Pi embedded within the robot.
The project is split into two main components:
- Agent: Hosted in this repository. Deployed on the Raspberry Pi within the robot, it executes commands and handles sensor input and motor control.
- Command Center: The command center serves as the operational hub, issuing commands and processing data received from the robot. The agent code can be found here.
- Raspberry Pi (any model that supports Python and GPIO pins)
- Python 3.x
Follow these steps to prepare your Raspberry Pi to control Edison:
-
Prepare Your Raspberry Pi:
-
Ensure your Raspberry Pi is set up with the latest version of Raspberry Pi OS and connected to the internet.
-
Update your Raspberry Pi's package list and upgrade all your installed packages to their latest versions:
sudo apt-get update sudo apt-get upgrade
-
-
Clone the Repository:
-
Navigate to the directory where you want to install the agent code, and clone this repository:
git clone https://github.com/shanek16/edison-pi.git
-
-
Configuration:
- Modify any scripts as necessary to match your robot's hardware setup, such as GPIO pin assignments or network settings.
To start the agent on your Raspberry Pi, navigate to the repository's directory and run:
python3 Client.py