TeslasuitDocumentation
APIs

Overview

This page serves as your guide to the documentation: you'll find an overview of how everything is organized, recommended reading paths for newcomers, and direct links to every section you might need.

Reading flow#

If you're starting out, read the sections in this order. Each step links to a section overview, so this doubles as a guided tour.

  1. Getting started — reference the SDK, connect a device, and reach your first subsystem.
  2. Main concepts — the mental model: what each subsystem senses or actuates, and the vocabulary the rest of the reference assumes.
  3. Examples — complete, runnable programs. The fastest way to feel the API on real hardware.
  4. API · Core then API · Subsystems — the interface-by-interface reference, for when you know what you want to build.

Already have a device connected? The Getting started page ends with a deeper reading flow tailored to running real code.

The full map#

1 · Introduction#

Set up and get oriented.

PageWhat's there
Overview (this page)How the docs are organized and where to start.
Getting startedRequirements, creating a TsRoot instance, connecting a device, and accessing a subsystem.

2 · Main concepts#

What the hardware does — the ideas the API assumes.

PageWhat's there
OverviewA map of the XR5 subsystems with a per-topic reading list.
Haptics & EMSProgrammable electrical stimulation, from light touch through to muscle contractions driven by electrical muscle stimulation (EMS) and functional electrical stimulation (FES).
MocapFull-body motion capture from the suit's inertial measurement units (IMUs): skeleton, raw IMU, and biomechanical angles.
PPGOptical photoplethysmography (PPG) heart-rate sensing, with raw pulse signals.
Body & channel mapAn interactive tool showing how the suit addresses channels by anatomical bone. It is Python-first, but the C# API follows the same layout mapping.

3 · API · Core#

The layer above subsystems — library lifecycle, device management, bone-channel mapping, and shared types.

PageWhat's there
TsRoot & subsystemsThe TsRoot entry point and the base subsystem interface.
DevicesDevice discovery through the suit, glove, and device managers.
MappingResolve anatomical bones to physical electric channels.
AssetsLoad and manage haptic assets and playables.
Common typesThe structs and enums shared across every module.

4 · API · Subsystems#

One interface per device capability.

PageWhat's there
HapticIHapticPlayer — create, play, and control touches and playables.
MocapIMocap — skeleton, raw IMU, and biomechanical data.
BiometryIPpg — PPG heart rate biometrics.
Force feedbackIForceFeedback — per-finger resistance on the glove.

5 · Examples#

Complete, runnable C# programs grouped by subsystem.

PageWhat's there
OverviewEvery runnable example, grouped by subsystem.
Play a haptic touchPlay your first touch on the suit.
Read heart rateRead live heart rate from a PPG node.
Stream motion dataStream skeleton data and biomechanical angles.

Next: head to Getting started to reference the SDK, connect a device, and play your first touch.