From faa2c043115a4162e95e3763a38ed7c4d2b9371c Mon Sep 17 00:00:00 2001 From: spatialfree Date: Sun, 28 Jan 2024 10:46:28 -0500 Subject: [PATCH] _ / reset --- hardware/braille_xr/braille_xr.ino | 6 +++++- sk_demo/src/Mono.cs | 7 ++++++- todo.md | 22 +++++++++++----------- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/hardware/braille_xr/braille_xr.ino b/hardware/braille_xr/braille_xr.ino index 5167417..26c83fc 100644 --- a/hardware/braille_xr/braille_xr.ino +++ b/hardware/braille_xr/braille_xr.ino @@ -28,7 +28,11 @@ ServoPin servos[6] = { struct BrailleChar { int servoStates[6]; }; -BrailleChar brailleAlphabet[26] = { +BrailleChar brailleAlphabet[27] = { + {{0, 0, + 0, 0, + 0, 0 + }}, // _ {{1, 0, 0, 0, 0, 0 diff --git a/sk_demo/src/Mono.cs b/sk_demo/src/Mono.cs index 990e56f..92765d8 100644 --- a/sk_demo/src/Mono.cs +++ b/sk_demo/src/Mono.cs @@ -23,7 +23,7 @@ public class Mono { // alphabet a-z string[] characters = new string[] { - "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", + "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; @@ -54,6 +54,11 @@ public class Mono { monoNet.send = true; } + if (Input.Key(Key.Down).IsJustActive()) { + monoNet.value = -1; + monoNet.send = true; + } + int xi = (int)(rig.hand_1.palm.position.x * 20f); xi = Math.Clamp(xi + 10, 0, 26); Log.Info($"xi: {xi}"); diff --git a/todo.md b/todo.md index 9b3d4a2..a26ef46 100644 --- a/todo.md +++ b/todo.md @@ -1,15 +1,15 @@ -ethan : - bryan fix monado head bob/northstar - get the stereokit project into the repo - try cycling (left-- center(stay) right++) - thumb lift for char input +ethan : + [ ] bryan fix monado head bob/northstar + [x] get the stereokit project into the repo + [ ] try cycling (left-- center(stay) right++) + [ ] thumb lift for char input -for the servo frame allow for slide *in out adjustablity +[x] for the servo frame allow for slide *in out adjustablity -niko : - finger pad bridge - flatten servo bottoms by adding material +niko : + [ ] finger pad bridge + [ ] flatten servo bottoms by adding material -*nice to have: -show braille dots as an added reinforcing visual element \ No newline at end of file +*nice to have: +show braille dots as an added reinforcing visual element