Commit d98db75
authored
Fix Start Position (#1)
This PR aims to resolve issue #2
The key frame from the MuJoCo XML file was not reaching the initial
position of the VR teleop.
To fix this we need to apply the starting position from the `setup`
data.
Explanation:
> mink.Configuration(model) initializes its internal data to default
(zero) qpos,
> ignoring any keyframe that ArmSetup already loaded into setup.data.
Without this
> sync, the IK starts solving from zeros — which on OpenArm puts the
arms hanging
> straight down through the table on the very first solve.
I also added a template `.gitignore` commonly seen in Python projects.1 parent 2d8618e commit d98db75
2 files changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
0 commit comments