Skip to content

fkine_all doesnot work #226

Closed
Closed
@Giessen

Description

@Giessen

Env:

Windows 10, python3.7.9

Version:

robotics-toolbox-python
branch Master
commit dd7cd64

Reproduce:

import roboticstoolbox as rtb
robot = rtb.models.URDF.Panda()
robot.fkine_all(robot.qz)
->
Traceback (most recent call last):
File "C:\Users\sun\Downloads\work\Python&&RS\python_gui\venv37\lib\site-packages\IPython\core\interactiveshell.py", line 3437, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
robot.fkine_all(robot.qz)
File "C:\Users\sun\Downloads\work\Python&&RS\python_gui\venv37\lib\site-packages\roboticstoolbox\robot\ERobot.py", line 684, in fkine_all
recurse(linkframes, Tbase, q, self.links[0])
File "C:\Users\sun\Downloads\work\Python&&RS\python_gui\venv37\lib\site-packages\roboticstoolbox\robot\ERobot.py", line 669, in recurse
Tall[link.number] = T
File "C:\Users\sun\Downloads\work\Python&&RS\python_gui\venv37\lib\site-packages\spatialmath\baseposelist.py", line 328, in setitem
self.data[i] = value.A
IndexError: list assignment index out of range

Metadata

Metadata

Assignees

Labels

bugwe got it wrong, will fix

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions