🫚 Adds bezier gait

This commit is contained in:
Rune Harlyk
2024-11-07 12:47:53 +01:00
committed by Rune Harlyk
parent ea5b16de0c
commit 87fe566d0d
2 changed files with 164 additions and 1 deletions
+2 -1
View File
@@ -29,6 +29,7 @@
import { GUI } from 'three/addons/libs/lil-gui.module.min.js';
import Kinematic, { type body_state_t } from '$lib/kinematic';
import {
BezierState,
CalibrationState,
EightPhaseWalkState,
FourPhaseWalkState,
@@ -69,7 +70,7 @@
[ModesEnum.Rest]: new RestState(),
[ModesEnum.Stand]: new StandState(),
[ModesEnum.Crawl]: new EightPhaseWalkState(),
[ModesEnum.Walk]: new FourPhaseWalkState()
[ModesEnum.Walk]: new BezierState()
};
let lastTick = performance.now();