https://github.com/maximecb/minibot-iface
Remote control interface for the MiniWorld robot (Raspberry Pi)
https://github.com/maximecb/minibot-iface
Last synced: 12 days ago
JSON representation
Remote control interface for the MiniWorld robot (Raspberry Pi)
- Host: GitHub
- URL: https://github.com/maximecb/minibot-iface
- Owner: maximecb
- License: mit
- Created: 2018-11-25T00:09:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-26T05:10:58.000Z (over 6 years ago)
- Last Synced: 2025-04-04T06:24:26.185Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minibot-iface
Remote control interface for the MiniWorld robot. The robot uses a Raspberry Pi 3 B+, the camera module V2, an [Adafruit motor hat](https://www.adafruit.com/product/2348) and two differential drive motors.
Dependencies:
- Python 3
- NumPy
- pyzmq (https://pyzmq.readthedocs.io)
- picamera library (https://picamera.readthedocs.io)
- Adafruit motor hat library (https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library)
- scipy (for image resizing)
Installing the dependencies:
```
# Picamera (may already be installed on raspbian distro)
sudo apt-get update
sudo apt-get install -y python3-pip python3-picamera python3-rpi.gpio python3-smbus i2c-tools libatlas-base-dev
pip3 install numpy zmq scipy==1.1.0
# Adafruit motor controller library
git clone https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git
cd Adafruit-Motor-HAT-Python-Library
pip3 install --trusted-host pypi.python.org --user -e .
```
To enable I2C ports, you should uncomment the necessary line in `/boot/config.txt`, and add a line with `i2c-dev` to `/etc/modules`.
# Troubleshooting
Note that some Python packages can take forever to build and install with pip. It's worth consulting the list of available precompiled wheels on [piwheels](https://www.piwheels.hostedpi.com/packages.html), and specifying to install a package version that you know has a precompiled wheel.