- Leap Motion SDK & Drivers
- https://developer-archive.leapmotion.com/v2
- the ./lib in this repo specifies windows drivers, please add your own if running Linux/Mac
- Custom URX Python Package from https://github.com/jkur/python-urx/tree/SW3.5/urx
- Because the one from pip is not updated :(
- Python 2.7
- python-tk
sudo apt-get install python-tk1
- Everything in
requirements.txt
- Robot is stopped
- Wave to the Leap Motion sensor to enable 'positioning' mode
- 'Positioning' mode is a fast 1 DOF (yaw) robot control mode that tracks your palm position and normal and is used to quickly position the robot close to the groove to be welded
- Robot is positioning
- Make a peace sign to start '2DOF mode'
- '2DOF' mode is a slower 2 DOF (yaw & pitch) robot that tracks your palm position, normal and fingers' direction to accurately maneuver the robot to scan a 3D point cloud of the groove.
- Robot is positioning in 2DOF
- When you want to start recording the position & orientation of the tool,make an OK sign
- Robot is in scanning mode
- Also 2DOF tracking
- When you want to stop scanning, close your hand into a fist. The scanning results will be written to an excel file.
- Make sure all the prerequisites are fulfilled
- On Linux: Make sure Leap Motion Daemon is running
sudo leapd
- In two separate terminal sessions run:
python ./gesture_handler.py
python ./follow_hand_all_all.py