diff --git a/.gitignore b/.gitignore index 6c79ca0..1cdd6a9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,16 @@ -*.pyc -env -*env +__pycache__/ +*.py[cod] +*$py.class + +.python-version + +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + **.freq -**.vscode frequency_analysis.json diff --git a/README.md b/README.md index 74eb3ae..11c64a9 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,15 @@ -# urc-intelligent_systems-2022 +# urc-intelligent_systems-2023 Contains the intelligent systems module and sensor logic for the SJSU Robotics' 3-Wheeled Mars Rover ## Setup -[ ] Clone this repo -[ ] Use an appropriate environment file from [env_files](env_files) to create your environment +To get started, you will need to install the following dependencies, you can do this by using a virtual environment and the requirements.txt file in the root directory of the project. -```bash -pip install -r env_files/all_requirements.txt +```sh +python -m venv venv +source venv/bin/activate +pip install -r requirements.txt ``` -or on the rover side - -```bash -pip install -r env_files/rover_requirements.txt -``` +![classes](https://github.com/SJSURoboticsTeam/urc-intelligent-systems-2023/assets/50222631/3d47c3d4-b21a-463e-9739-bc99b61f450f) diff --git a/Vision/requirements.txt b/Vision/requirements.txt deleted file mode 100644 index 61a4fcf..0000000 --- a/Vision/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -opencv-python==4.5.1.48; platform_machine != "aarch64" -depthai==2.11.1.1 -blobconverter==1.2.6 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8516879 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,12 @@ +Adafruit_Blinka==8.6.* +blobconverter==1.2.* +board==1.0 +depthai==2.22.* +opencv-python==4.5.*; platform_machine != "aarch64" +pyserial==3.5.* +requests==2.31.* +rplidar==0.9.* +rplidar_roboticia==0.9.* +scikit_learn==1.3.* +simple_pid==2.0.* +smbus==1.1.post2; sys_platform == 'linux'