8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d2cb78 commit 70d9601Copy full SHA for 70d9601
roboticstoolbox/backends/VPython/canvas.py
@@ -604,6 +604,11 @@ def __setup_joint_sliders(self):
604
"""
605
Display the Teachpanel mode of the UI
606
607
+
608
+ # Update the robots to their current joint angles
609
+ for joint_idx, joint in enumerate(self.__teachpanel[self.__selected_robot]):
610
+ joint[self.__idx_theta] = self.__robots[self.__selected_robot].angles[joint_idx]
611
612
self.scene.append_to_caption('\n')
613
if len(self.__teachpanel) == 0:
614
self.scene.append_to_caption("No robots available\n")
0 commit comments