Coder Social home page Coder Social logo

kpchad / delsysapi-unityexample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from delsys-inc/delsysapi-unityexample

0.0 1.0 0.0 36.88 MB

Scan and connect to Trigno Sensors over RF using Delsys API

C# 92.26% ASP 7.05% Objective-C 0.46% HLSL 0.11% ShaderLab 0.12%

delsysapi-unityexample's Introduction

Delsys API RF integration with Unity

Description of the Sample App using Delsys API in RF mode:

  1. When you run the app after building the project from Unity, click Scan. The app will then scan for Trigno Sensors and connect to found devices.
  2. Select sensors by clicking "Select" button.
  3. Click "Start" to start data streaming and "Stop" to stop data streaming
  4. The app will save a csv file of the data collected during the run.

Requirements

  1. Unity version 2019.1.5f1 or greater
  2. Latest Delsys API
  3. Trigno sensors and Base Station running on latest firmware. You can follow the guide from here

Few things to note before building the project:

  1. Make sure you always have the latest DelsysAPI, you can download the latest API package from here (Skip to step 8 if you already have the latest API package)
  2. For this tutorial, we'll be using the NuGet for Unity plugin. This is not required, but it simplifies obtaining the API's dependencies.

3. Install NuGet if you don't have already from the Asset Store.

4. Install Stateless and Portable.Licensing NuGet packages.

5. Extract each NuGet package -- the API, Stateless, and Portable.Licensing -- with a zip extractor.

6. Copy each dll (Stateless from the lib/net45 folder, Portable.Licensing, and all of the Delsys API dlls) to the Assets -> Plugins folder of your Unity project. 7. Delete the NuGet packages and NuGet config files to ensure no duplicate dependencies. Your Plugins folder should now look something like this:

8. Make sure the configuration settings are as shown below. You can access them by going to File -> Build Settings -> Player Settings

9. From File -> Build Settings, select Architecture as x86 from the drop down menu:

10. It is advisable to run the standalone exe file from a separate folder for eg: BuildVersions as shown below. You can do so by going to Build Settings, click Build -> Make a new folder and then save the build output in that location.

11. Also make sure that any dll files in the project have x86 checked under Inspector -> Platform Settings

Author

SarthakJag

delsysapi-unityexample's People

Contributors

sarthakjag avatar

Watchers

James Cloos avatar

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.