Commit 35bab58
authored
fix(RB-3031): RobotAnimator not updating on motion state prop change (#470)
When introduced into the current state of the RobotPad, the
V2-Type-based RobotAnimator did not update the robot position on motion
state change. It worked setting the position during initalization
though.
The file change fixes the bug, allowing the robot visualization to
behave accordingly
Before (.mov video)
https://github.com/user-attachments/assets/8d56e3ac-0d8d-49b7-96ea-0d8c858c54dd
After (.mov video)
https://github.com/user-attachments/assets/1beeada9-6f7d-4cde-8cec-f1d6f7556b061 parent 848289b commit 35bab58
1 file changed
+15
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
| |||
86 | 81 | | |
87 | 82 | | |
88 | 83 | | |
89 | | - | |
| 84 | + | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | 88 | | |
94 | | - | |
95 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
0 commit comments