This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Программирование
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

TeslaSuit Plugin

Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to Sim SDK edition to use it.

Teslasuit is a full-body haptic feedback suit that uses electric impulses to create sensations, traces the body motions, and captures the user's biometrics.

The TeslaSuit plugin provides integration with the suit and related software.

The plugin allows controlling the Teslasuit service receiving the following types of data:

  • User motions
  • Haptic feedback
  • Biometry
  • Information about the suit

Notice
Teslasuit is available for Windows only.

See Also#

  • TeslaSuit Plugin classes
  • C++ sample illustrating the basic aspects of working with the plugin:
    source/samples/3rdparty/TeslaSuit

System Requirements#

Teslasuit SDK should be installed in your network or PC. Otherwise the plugin would not work.

Implementing Unigine Application with Teslasuit Support#

To use the TeslaSuit plugin in your UNIGINE application, perform the following:

  1. Download and install the Teslasuit SDK.
  2. Create a new project with Teslasuit support via UNIGINE SDK Browser: click Plugins, check the Teslasuit support (TeslaSuit plugin) option in the form that opens and click OK.

    TeslaSuit Plugin on Plugins Panel
    Notice
    To add Teslasuit support to the existing project, in UNIGINE SDK Browser, click Other Actions -> Configure Project -> Plugins -> Teslasuit support (TeslaSuit plugin) -> OK.
  3. Implement your application.
  4. Launch the TeslaSuit plugin on the application start-up.

Launching TeslaSuit Plugin#

To use the plugin, you should specify the extern_plugin command line option on the application start-up:

Shell commands
main_x64 -extern_plugin "TeslaSuit"

If you run the application via UNIGINE SDK Browser, specify the command-line options given above in the Customize Run Options form.

Compiling TeslaSuit Plugin#

Plugin compilation is required if you change its source code (for example, add new API functions).

Teslasuit SDK is required for recompiling the TeslaSuit plugin:

  1. Download and install the Teslasuit SDK.
  2. Set the path to the <Teslasuit SDK> folder in the TESLA_SUIT_ROOT environment variable.
    Shell commands
    set TESLA_SUIT_ROOT=<Teslasuit SDK>
  3. Compile the plugin in one of the following ways:
    • By using the build script:
      Shell commands
      C:\UnigineSDK\source>build.py --plugin TeslaSuit
    • Via Microsoft Visual Studio: go to the <UnigineSDK>\source\plugins\Hardware\TeslaSuit, open the teslasuit_vs2015.vcxproj project and build it.
Last update: 27.04.2020
Build: ()