From 097cc0e33e3f0a9ef42e21eadcd109151e4ef88a Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Mon, 8 Dec 2025 22:30:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Update=20base=20step=20height=20?= =?UTF-8?q?in=20visualizer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/lib/gait.ts | 2 +- app/src/lib/stores/model-store.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/lib/gait.ts b/app/src/lib/gait.ts index 9d7257f..e760407 100644 --- a/app/src/lib/gait.ts +++ b/app/src/lib/gait.ts @@ -68,7 +68,7 @@ export abstract class GaitState { map_command(command: ControllerCommand) { const newCommand = { - step_height: 0.4 + (command.s1 + 1) / 2, + step_height: command.s1, step_x: command.ly, step_z: -command.lx, step_velocity: command.s, diff --git a/app/src/lib/stores/model-store.ts b/app/src/lib/stores/model-store.ts index c8f3cd7..1c14b76 100644 --- a/app/src/lib/stores/model-store.ts +++ b/app/src/lib/stores/model-store.ts @@ -50,5 +50,5 @@ export const input: Writable = writable({ right: { x: 0, y: 0 }, height: 0.5, speed: 0.5, - s1: 0.05 + s1: 0.5 })