Toshiki-Keio / wolvez2022

0 stars 0 forks source link

wolvez2022

Mission code in Python for Keio Wolve'Z CanSat project 2022

Hardware Requirements

Software Requirements

Firstly, you need to clone this repository

git clone git@github.com:Toshiki-Keio/wolvez2022.git

Setups

1. OpenCV
OpenCV is necessary for implimenting image processing in order to recognize following target.
Go to setup folder and run inst_opencv.sh to install opencv.

 sudo bash inst_opencv.sh

Check in python if you successflly installed opencv or not

 import cv2

2. GPS Setup
The proposed robot orients itself by GPS. Run setup_gps.sh in terminal. (in setup folder)

sudo bash setup_gps.sh

3. I2C Setup
I2C is one of the ways of serial communication. This is necessary for BNO055 (acceralation sensor). Run setup_i2c in terminal. (in setup folder)

sudo bash setup_i2c.sh

4. Install Libraries
If you want to run mission code, run Testcode/EtoE/main.py.
However, you need to install some libraries to run this code without any error.
Run requirements.sh in terminal. (in setup folder)

sudo bash requirements.sh

5. Access Point Setup (Additional)
if you want to use Raspberry Pi remotely in No Wi-fi environment, you may want to use your Rasberry Pi as Wi-fi access point. Then go to setup/ap and run setup_ap.sh

sudo bash setup_ap.sh

Once you activate access point, you cannot connect your Raspberry Pi to other Wi-fi networks. So you can turn it off by running ap_off.sh. If you want to re-activate, then, run ap_on.sh

Project Member