node-red-contrib-leap-motion 0.0.2

Node-Red nodes for leap motion

npm install node-red-contrib-leap-motion

OVERVIEW

A NODE-Red node to use the gestures of the Leap Motion and a node with six different positions

INSTALLATION

You just have to install this node by npm in the .node-red folder:

      $ npm install leapjs
      $ npm install node-red-contrib-leap-motion

USAGE

Leap Position

This node send six different msg.payload

case 'LEFT':
 node.send({payload:"left"});
break;
case 'RIGHT':
 node.send({payload:"right"});
break;
case 'FORWARD':
 node.send({payload:"forward"});
break;
case 'BACKWARD':
 node.send({payload:"backward"});
break;
case 'CENTER':
 node.send({payload:"center"});
break;
case 'NOHAND':
 node.send({payload:"nohand"});
break;

Gestures

The leap motion can recognized four Gestures.

Circle

msg.payload=circle

KeyTap

msg.payload=keytap

ScreenTap

msg.payload=screentap

Swipes

msg.payload=swipeleft msg.payload=swiperight msg.payload=swipedown msg.payload=swipeup

License

Copyright (c) 2016-2017 CROZIER Jonathan/TIZOT Léo. Student in Network and Telecommunications at the IUT of Annecy-le-Vieux. Licensed under the MIT license.

Node Info

Version: 0.0.2
Updated 4 years, 3 months ago
License: ISC
Rating: not yet rated

Downloads

4 in the last week

Nodes

  • leapposition
  • circle
  • swips
  • keytap
  • screentap

Keywords

  • node-red
  • leap-motion
  • leapjs

Maintainers