Simple app to stream accelerometer data over WebSocket.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-09-21 20:08:25 +01:00
Accelerometry Fix binding for IP address and add 3D 2021-02-24 00:39:39 +00:00
Accelerometry.xcodeproj Fix binding for IP address and add 3D 2021-02-24 00:39:39 +00:00
AccelerometryTests Initial Commit 2021-02-19 16:20:56 +00:00
AccelerometryUITests Initial Commit 2021-02-19 16:20:56 +00:00
screenshots Refactor ContentView.swift and add screenshot 2021-02-22 12:54:38 +00:00
LICENSE Create LICENSE 2022-09-21 20:08:16 +01:00
README.md Update README.md 2021-02-22 13:10:57 +00:00

Accelerometry 📈

A small app for iOS to send raw accelerometry data to a server over WebSocket.

App Screenshot with Frame

Usage

  • Enter the URL of your WebSocket server, and click start to open a connection and begin streaming raw calibrated accelerometer data at 60Hz.
  • Click stop to stop streaming data and close your connection to server.

Data Interchange Format

The app transmits a simple comma seperated string over the WebSocket connection.

x,y,z

Only effort required to parse the data serverside is split the string on a , delimiter and cast the string to Double. These are guaranteed to be double precision floating point numbers.