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 349a332 commit ed60030Copy full SHA for ed60030
examples/VPython.py
@@ -10,9 +10,20 @@
10
env.launch()
11
12
# PUMA560
13
-# puma = rp.models.DH.Puma560()
14
-# env.add(0, 'Puma', puma)
+puma = rp.models.DH.Puma560()
+env.add(0, 'Puma', puma)
15
16
+
17
+# Example 1
18
+# qt = rp.tools.trajectory.jtraj(puma.qz, puma.qr, 50)
19
+# env.record_start(5)
20
+# for q in qt.q:
21
+# time.sleep(1/5)
22
+# env.step(puma, q=q)
23
+# env.record_stop('vpython_jtraj_video.mp4', save_fps=25)
24
25
26
+# Example 2
27
# env.record_start(10)
28
#
29
# time.sleep(1)
0 commit comments