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
- Host: GitHub
- URL: https://github.com/sciss/tinker
- Owner: Sciss
- License: lgpl-2.1
- Created: 2018-04-25T10:41:14.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-06-23T09:17:58.000Z (almost 3 years ago)
- Last Synced: 2025-02-23T17:23:05.839Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tinker
[](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`.