Giter VIP home page Giter VIP logo

vuforia-spatial-basic-interfaces-addon's Introduction

vuforia-spatial-basic-interfaces-addon

This repository hosts a set of hardware interfaces for DIY and consumer hardware. We hope that these interfaces will enable you to easily get started creating compelling experiences with the Vuforia Spatial Toolbox and Vuforia Spatial Edge Server.

Read First

The Vuforia Spatial Toolbox and Vuforia Spatial Edge Server make up a shared research platform for exploring spatial computing as a community. This research platform is not an out of the box production-ready enterprise solution. Please read the MPL 2.0 license before use.

Join the conversations in our discourse forum if you have questions, ideas want to collaborate or just say hi.

Supported hardware

  • Philips Hue
  • Arduino: Documentation coming soon
  • LEGO WeDo / Boost: Activate the Hardware interface and push the green button on your Lego Wedo / Boost.

Install

Once you have installed the Vuforia Spatial Edge Server clone this repo into the addons folder

cd addons
git clone https://github.com/ptcrealitylab/vuforia-spatial-basic-interfaces-addon.git

Next, enter the vuforia-spatial-basic-interfaces-addon directory and install all dependencies.

cd vuforia-spatial-basic-interfaces-addon
npm install

Prerequisites (for compiling the dependencies)

OS X

Windows

npm install --global --production windows-build-tools
Ubuntu, Debian, Raspbian
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev

vuforia-spatial-basic-interfaces-addon's People

Contributors

afusteptc avatar dependabot[bot] avatar hobinjk-ptc avatar valentinptc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hobinjk-ptc vheun

vuforia-spatial-basic-interfaces-addon's Issues

Further Philips Hue Improvements

  • Automatic discovery using nupnp
  • Guided pairing process
  • More documentation of which object ids to create
  • Fancy default frame allowing basic control like the old lights

Part of #1

Server breaks if you have no Bluetooth device and enable the LEGO hardware interface

If you enable the LEGO Hub hardware interface and don't have a Bluetooth device connected to your server it throws an exception at the start up of the server:
addons\vuforia-spatial-core-addon\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:91 throw new Error('No compatible USB Bluetooth 4.0 device found!');

It is not possible to change this setting anymore since the server won't start up.

Quick fix is disabling the LEGO hub by go to this path:
addons\vuforia-spatial-core-addon\interfaces\LegoHub\index.js
and change line 56 from if (exports.enabled) { to if (exports.enabled && false) {.
This will disable the LEGO hub hardware interface and makes it possible to run the server again.

We need to get these addon's up and running for the start

I had some talks about the Webpage and realize that we are missing a very simple example. Each of these experimental add-ons could provide a super simple starting point and a super simple tutorial:

Hue Lights,
Lego Wedo,
Arduino

I searched trough boxes at home and found an Arduino, Wedos and a hue light hub with a light bulb. I can get the hardware interfaces back up running but need some help with the visual frontend in the server.

Only one wheel working for Lego Boost

After turning on LegoHub in Manage Hardware Interfaces, legoHub_1 Object was added to Object Configuration tab in Vuforia Spatial Edge Server.
I’ve added a slider in Vuforia Spatial Toolbox and connected it to a node of Motor(s) but somehow I was only able to control right wheel of lego boost

Light object content does not appear directly

When connecting the Hue bridge, Lights are added but are empty : the Lightframe content is not there.

I found myself having to click on the Light name, then toggling On/Off the Hue interface, then refreshing the server page (clicking the “en1” button) to allow the Lightframe to show up. Then, I have to click on the Lightframe (empty), refresh the server page again (“en1” button), and then the Lightframe populates with the switch and brightness nodes when you click on it again.

Unclear from my perspective if this is a bug in the basic-interfaces-addon or in the edge server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.