RobotGestures - A Walabot Application
A simple Walabot application that allows you control a Pololu DRV8835 Dual Motor Driver Kit through Walabot gestures.
- Works on both Windows and Linux.
- Tested on Windows 10, Ubuntu 16.04 LTS and Raspberry Pi 3.
- The app's using Python library for the Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi.
- Connection to the Raspberry PI is achieved using Paramiko.
What does the Walabot Do?
- The app uses the Walabot sensor to detect a hand inside it's arena.
- The Z axis is used to control the driving speed when the hand is positioned at the middle of the arena.
- The Y axis is used to control the rotation speed when the hand is positioned at one of the arena sides.
How to use
- Install the Walabot SDK and the WalabotAPI Python library using pip.
- Install the Paramiko library.
- Install the Python library for the Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi.
- Raspberry Pi only: Configure it to work with Walabot (explained below).
- Configure the SSH settings in the code to match yours (lines 80-82 in
- Position the Walabot as the image below.
RobotGestures.pyand start driving!
🚙 🚗 🚕
IMPORTANT NOTE: Current Walabot settings are for Walabot Developer (formerly Walabot Pro).
Configure the Raspberry Pi
The Raspberry Pi is an excellent tool for makers, but it is limited in the current it can send to the Walabot.
Add the following lines to the end of the file at
/boot/config.txt in order to configure it to work:
Positioning the Walabot
Editing the code
'Walabot Settings' variables are necessary to configure the Walabot arena.
'Raspberry PI Settings' variables are required to connect to the device over SSH.
Walabot Settings - the
R_MIN, R_MAX, R_RES: Walabot
SetArenaRparameters. Determines how low (from it's location) the Walabot will "see".
THETA_MIN, THETA_MAX, THETA_RES: Walabot
SetArenaThetaparameters. The theta axis is ignored in this app, those values should always be the "lowest" possible.
PHI_MIN, PHI_MAX, PHI_RES: Walabot
SetArenaPhiparameters. Used to set how "far" the Walabot will "see" (from it's location).
SetThresholdparameter. Lower this value if you wish to detect objects smaller the a man's head.
A comprehensive explanation about the Walabot imaging features can be found here.
Raspberry PI Settings - the
HOST: The Raspberry PI ip.
USERNAME: The Raspberry PI OS username.
PASSWORD: The Raspberry PI OS user's password.