Skip to content

Commit bfaa527

Browse files
committed
fix bug with placement of radians conversion
1 parent bb90ab4 commit bfaa527

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

roboticstoolbox/robot/ERobot.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,8 +1110,6 @@ def fkine(
11101110
# we work with NumPy arrays not SE2/3 classes for speed
11111111
q = getmatrix(q, (None, self.n))
11121112

1113-
q = self.toradians(q)
1114-
11151113
end, start, etool = self._get_limit_links(end, start)
11161114

11171115
if etool is not None and tool is not None:
@@ -1127,7 +1125,7 @@ def fkine(
11271125
T = SE3.Empty()
11281126

11291127
for k, qk in enumerate(q):
1130-
1128+
qk = self.toradians(qk)
11311129
link = end # start with last link
11321130

11331131
# add tool if provided

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy