No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit bdfed59 Aug 1, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.txt Create LICENSE.txt Nov 22, 2016
README.md Update README.md Aug 1, 2017
RobotGestures.py Merge branch 'master' of https://github.com/Walabot-Projects/Walabot-… Sep 25, 2016
example.jpg added example image Aug 18, 2016

README.md

RobotGestures - A Walabot Application

A simple Walabot application that allows you control a Pololu DRV8835 Dual Motor Driver Kit through Walabot gestures.

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

  1. Install the Walabot SDK and the WalabotAPI Python library using pip.
  2. Install the Paramiko library.
  3. Install the Python library for the Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi.
  4. Raspberry Pi only: Configure it to work with Walabot (explained below).
  5. Configure the SSH settings in the code to match yours (lines 80-82 in RobotGestures.py).
  6. Position the Walabot as the image below.
  7. Run RobotGestures.py and 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:

safe_mode_gpio=4
max_usb_current=1

Positioning the Walabot

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 Walabot class

  • R_MIN, R_MAX, R_RES: Walabot SetArenaR parameters. Determines how low (from it's location) the Walabot will "see".
  • THETA_MIN, THETA_MAX, THETA_RES: Walabot SetArenaTheta parameters. The theta axis is ignored in this app, those values should always be the "lowest" possible.
  • PHI_MIN, PHI_MAX, PHI_RES: Walabot SetArenaPhi parameters. Used to set how "far" the Walabot will "see" (from it's location).
  • THRESHOLD: Walabot SetThreshold parameter. 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 RaspberryPi class

  • HOST: The Raspberry PI ip.
  • USERNAME: The Raspberry PI OS username.
  • PASSWORD: The Raspberry PI OS user's password.