An open API service indexing awesome lists of open source software.

https://github.com/sciss/tinker

Using the TinkerForge IMU2 brick sensor board from Scala. Mirror of https://codeberg.org/sciss/Tinker
https://github.com/sciss/tinker

Last synced: 11 months ago
JSON representation

Using the TinkerForge IMU2 brick sensor board from Scala. Mirror of https://codeberg.org/sciss/Tinker

Awesome Lists containing this project

README

          

# Tinker

[![Build Status](https://github.com/Sciss/Tinker/workflows/Scala%20CI/badge.svg?branch=main)](https://github.com/Sciss/Tinker/actions?query=workflow%3A%22Scala+CI%22)

## statement

This is a project for using the Java bindings to [TinkerForge](https://www.tinkerforge.com) API through Scala.
Specifically, to use the inertial measurement unit (IMU) sensors, IMU Brick v2 or IMU Bricklet v3.
It is (C)opyright 2018–2023 by Hanns Holger Rutz. All rights reserved. The project is released under
the [GNU Lesser General Public License](https://codeberg.org/sciss/TinkerForgeIMU2Test/raw/branch/main/LICENSE) v2.1+
and comes with absolutely no warranties. To contact the author, send an e-mail to `contact at sciss.de`.

## requirements / running

This project builds against Scala 3.x, 2.13, using [sbt](http://www.scala-sbt.org/). To run: `sbt 'runMain '`:

- `sbt 'core/runMain de.sciss.tinker.Enumerate'`
- `sbt 'core/runMain de.sciss.tinker.IMU_SimpleData --uid your-imu-brick-id'`
- `sbt 'core/runMain de.sciss.tinker.IMU_AllData --uid your-imu-brick-id'`
- `sbt 'core/runMain de.sciss.tinker.View --uid your-imu-brick-id'`

To list your devices, run `./scripts/enumerate.sh`. To run the `IMU_OSC` target that can send the sensor data to a
target node via OSC, use `sbt core/assembly` and the `scripts/imu_osc.sh` script.
`./scripts/imu_osc.sh --help` for command line args.

The former recorder experiment is in sbt module `recorder`.