Skip to content
Snippets Groups Projects
Commit 7fc6daa2 authored by Hannes Tiltmann's avatar Hannes Tiltmann
Browse files

rebuild architecture

parent 67548ad4
Branches
No related tags found
No related merge requests found
# Leap Motion API using LeapSDK (leapd) through websocket
## Requirements
- 64bit AMD processor
- LeapSDK
- Python3 and packages:
- websocker-client
## Examples
Python scripts start with `'e_'` are executable examples.
\ No newline at end of file
......@@ -3,4 +3,5 @@ from leap import LeapController
l = LeapController("127.0.0.1", logging=True)
l.run()
# some time to read logging
input()
from leap import LeapController
import roslibpy
h="127.0.0.1"
p="9090"
client = roslibpy.Ros(host=h, port=p)
client.run()
roslibpy.Topic(client, '/leap','')
\ No newline at end of file
......@@ -20,7 +20,6 @@ class LeapController:
self.frame = json.loads(m)
if self.logging:
print("wow, new frame")
for h in self.frame["hands"]:
print(json.dumps(h["t"], indent=3))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment