Machine Learning Trainer

Training environment to make a walk model for the hexapod
generated code that will be checked
This commit is contained in:
2026-07-30 17:23:36 +02:00
parent bec157a458
commit c5ca79a354
16 changed files with 980 additions and 88 deletions
+27
View File
@@ -0,0 +1,27 @@
import kinematics as kin
import DataTypes as dt
init_deg: dt.DegArray = dt.DegArray(
[
[90, 45, 140],
[90, 45, 140],
[90, 45, 140],
[90, 135, 40],
[90, 135, 40],
[90, 135, 40],
]
)
init90_deg: dt.DegArray = dt.DegArray(
[
[90, 90, 90],
[90, 90, 90],
[90, 90, 90],
[90, 90, 90],
[90, 90, 90],
[90, 90, 90],
]
)
init_pos: dt.RadArray = init_deg.to_rad()
center_points: dt.PosArray = kin.ikpyForward(init_pos)