Adds yertle model visulization

This commit is contained in:
Rune Harlyk
2025-07-11 13:25:03 +02:00
committed by Rune Harlyk
parent 2eab893dd7
commit c5901c65b3
31 changed files with 212288 additions and 182 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import { get } from 'svelte/store'
import type { body_state_t } from './kinematic'
import Kinematic from './kinematic'
import { fromInt8 } from './utilities'
import { currentKinematic } from './stores/featureFlags'
const { sin } = Math
@@ -39,7 +39,7 @@ export abstract class GaitState {
}
public get default_feet_pos() {
return new Kinematic().getDefaultFeetPos()
return get(currentKinematic).getDefaultFeetPos()
}
protected get default_height() {