🐛 Update base step height in visualizer
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
@@ -50,5 +50,5 @@ export const input: Writable<ControllerInput> = writable({
|
||||
right: { x: 0, y: 0 },
|
||||
height: 0.5,
|
||||
speed: 0.5,
|
||||
s1: 0.05
|
||||
s1: 0.5
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user