sensor
Ultraleap Leap Motion Controller 2
Ultraleap Leap Motion Controller 2 is a sensor over USB. What OAV knows about it, each fact with the page it was read from, how to set it up, what goes wrong, and the code that reaches it.
Also called: Leap Motion Controller 2 · Leap Motion · Leap Motion Controller · LMC2 · Leap · hand tracking · 手部追蹤
- hand-written record
- not checked on a unit yet
- Kind
- sensor
- Manufacturer
- Ultraleap
- Connections
- USB
- Licence
- MIT
- Verified
- not checked on a unit yet
Facts
What Ultraleap Leap Motion Controller 2 is
Each value is read from the page in its row. What could not be read is under “To be confirmed”, not guessed.
| Fact | Value | Source |
|---|---|---|
| Field of view | 160° × 160° | Ultraleap: products (Leap Motion Controller 2) |
| Tracking depth | 10 cm (4") to 110 cm (43") | Ultraleap: products (Leap Motion Controller 2) |
| USB | USB 3.0 via a USB type C connector | Ultraleap: products (Leap Motion Controller 2) |
| Systems | Windows, macOS, Android XR2 | Ultraleap: products (Leap Motion Controller 2) |
Connect
How it plugs in and what it speaks
Connections
USB
Protocols
not in the record
Setup
Set it up
- Install Ultraleap Hand Tracking (Gemini 5.x) and plug the sensor in; "/Applications/Ultraleap Hand Tracking.app/Contents/bin/leapctl" devices should list it with Tracking: true. open-audiovisual: packages/leap README (setup on macOS, the bridge)
- Install the Xcode command line tools (clang): the bridge compiles its small C reader on first start. open-audiovisual: packages/leap README (setup on macOS, the bridge)
- Run the bridge, node packages/leap/bridge/leap-bridge.mjs, and check http://127.0.0.1:6437/health; install.sh keeps it running at login. open-audiovisual: packages/leap README (setup on macOS, the bridge)
Known problems
- A page on a public https site that reaches the bridge on this machine meets Chrome's local network prompt; blocked, it fails with net::ERR_BLOCKED_BY_LOCAL_NETWORK_ACCESS_CHECKS. Allow it, or open the page from localhost. open-audiovisual handbook: Troubleshooting, Chrome asks about the local network, or about apps on this device
Use it
Ultraleap Leap Motion Controller 2 in your code
Paste it into a <script type="module"> on any page: it loads the packages from this site. It asks for nothing until you press the button it adds.
import { device } from 'https://openaudiovisual.com/packages/devices/index.js';
import { Signals } from 'https://openaudiovisual.com/packages/core/index.js';
import { LeapInput } from 'https://openaudiovisual.com/packages/leap/index.js';
const leap = await device('ultraleap-leap-motion-controller-2'); // Ultraleap Leap Motion Controller 2
console.log(leap.record.use.map((u) => u.package).join(' '));
// → @openav/leap
const signals = new Signals();
const button = document.body.appendChild(Object.assign(document.createElement('button'), { textContent: "Connect the Leap bridge" }));
button.onclick = () => new LeapInput({ signals }).connect(); // the bridge on this computer: see SetupWhat reaches it
@openav/leap·LeapInputnew LeapInput({ signals }).connect()Through the local bridge, both hands become leap/hand/<side>/… signals (palm position, pinch, grab, angles, fingertips), and leap.hands has the joints for drawing.
Files
Take it with you
The record (JSON, open-audiovisual/device@1): the facts with their sources, the setup steps, the problems and the code that reaches it. Other tools can read it with the JSON Schema.
Status
How sure this page is
Not checked on a unit yet: every value is as its source says. Only a person with the unit can change that.
To be confirmed
- This is the Controller 2, the sensor @openav/leap's gesture thresholds were tuned on. The first Leap Motion Controller is another unit with other numbers, not described here.
- Frame rate, power, size and the preferred tracking range were not on a manufacturer page that could be read.
Sources
GitHub
Wrong data?
Every value on this page comes from one file in the repository. Open an issue that says which value and where you read the right one, or change the file in a pull request.