You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the Sample App using Delsys API in RF mode:
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.
Select sensors by clicking "Select" button.
Click "Start" to start data streaming and "Stop" to stop data streaming
The app will save a csv file of the data collected during the run.
Requirements
Unity version 2019.1.5f1 or greater
Latest Delsys API
Trigno sensors and Base Station running on latest firmware. You can follow the guide from here
Few things to note before building the project:
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)
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