Skip to content
hackathon2017
Python Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CameraCalibrated
animations
heatmap_recognizer
images
.gitignore
README.md
aiarm-srv.rb
aih_cam_final.py
anims.rb
arm_api.txt
barman.rb
cap_double_images.py
dual.py
gin-tonik.rb
main.py
or.py
requirements-riuk.txt
requirements.txt
riuk.py
roboarm.rb
roboarm_old.rb
robocamera.py
robot.py
rum_cola.rb
stereo_calibration.py
test_robocamera.py
test_robot.py
threshold_cv.py
wiskey-cola.rb

README.md

aih hackathon2017

API Robot control

arm_api.txt   - robot side server code
robot.py      - client side API to control arm

Prerequisites (numpy, requests):

pip install -r requirements.txt

Direct Robot control

Make sure API prerequisites are installed. Then install gcc, libffi-devel, SDL2-devel (Fedora):

dnf install libffi-devel SDL2-devel

Create virtualenv with dependencies:

virtualenv .robot
# install dependencies
.robot/bin/pip install -r requirements_riuk.txt

Run .robot/bin/python riuk.py.

ENTER       - open/close gripper
LEFT/RIGHT  - move between robot links
UP/DOWN     - change link angle by 1 degree
ESCAPE      - run away
You can’t perform that action at this time.