🐛 Update base step height in visualizer

This commit is contained in:
Rune Harlyk
2025-12-08 22:30:56 +01:00
parent fe76f2d7dd
commit 097cc0e33e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export abstract class GaitState {
map_command(command: ControllerCommand) { map_command(command: ControllerCommand) {
const newCommand = { const newCommand = {
step_height: 0.4 + (command.s1 + 1) / 2, step_height: command.s1,
step_x: command.ly, step_x: command.ly,
step_z: -command.lx, step_z: -command.lx,
step_velocity: command.s, step_velocity: command.s,
+1 -1
View File
@@ -50,5 +50,5 @@ export const input: Writable<ControllerInput> = writable({
right: { x: 0, y: 0 }, right: { x: 0, y: 0 },
height: 0.5, height: 0.5,
speed: 0.5, speed: 0.5,
s1: 0.05 s1: 0.5
}) })