🧹 Removes notification event service

This commit is contained in:
Rune Harlyk
2024-05-02 22:29:11 +02:00
committed by Rune Harlyk
parent 9dee0e1bb1
commit b7a4568f07
9 changed files with 59 additions and 139 deletions
+1 -1
View File
@@ -73,7 +73,7 @@
const updateAngles = (name: string, angle: number) => {
modelTargetAngles[$jointNames.indexOf(name)] = angle * (180 / Math.PI);
Throttler.throttle(() => servoAnglesOut.set(modelTargetAngles), 100)
Throttler.throttle(() => servoAnglesOut.set(modelTargetAngles.map(num => Math.round(num))), 100)
};
const createScene = async () => {