2 releases (1 stable)

Uses new Rust 2024

new 1.0.0 Apr 25, 2025
0.1.0 Apr 13, 2025

#1 in #owo

Download history 102/week @ 2025-04-12 70/week @ 2025-04-19

173 downloads per month

MIT license

11KB
242 lines

OWO-Skin-rs

A minimal implementation of the OWO Skin Application Protocol written in Rust.

Features

  • Connect to the OWO application
  • Auto connect using UDP broadcast
  • Send microsensations to the OWO application

Usage

use owo_skin::client::Client;
use owo_skin::muscles::{Muscle, MuscleWithIntensity};
use owo_skin::sensations::MicroSensation;

fn main() {
    let client = Client::new();

    client.auto_connect();

    sleep(Duration::from_secs(2));

    client.send_sensation_muscles(
        MicroSensation::new(100,
                            1.,
                            20,
                            0.0,
                            0.0,
                            0.0,
                            "test".to_string()
        ),
        vec![
            MuscleWithIntensity::new(muscles::Muscle::DorsalL, 100),
        ]
    );
}

No runtime deps