8000 Update DHRobot.py · hanm2019/robotics-toolbox-python@4c18cf6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c18cf6

Browse files
authored
Update DHRobot.py
update the vd rne_python of mdh module. vd_ = Rt @ (_cross(wd, pstar) + _cross(w, _cross(w, pstar)) + vd)
1 parent 4d838d5 commit 4c18cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/robot/DHRobot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ def removesmall(x):
14651465
# revolute axis
14661466
w_ = Rt @ w + z0 * qd_k[j]
14671467
wd_ = Rt @ wd + z0 * qdd_k[j] + _cross(Rt @ w, z0 * qd_k[j])
1468-
vd_ = Rt @ _cross(wd, pstar) + _cross(w, _cross(w, pstar)) + vd
1468+
vd_ = Rt @ (_cross(wd, pstar) + _cross(w, _cross(w, pstar)) + vd)
14691469
else:
14701470
# prismatic axis
14711471
w_ = Rt @ w

0 commit comments

Comments
 (0)
0