You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem using the KinovaGen3 with the IK solvers. Below is the bug and the code that caused it.
This bug has been investigated for other robot models as well, as noted in "additional context". What's curious to me is that this code works fine for robots like Panda, Mico, LBR, Puma560 and YuMi. This can be reproduced by setting the model to these parameters. e.g. "rtb.models.URDF.Panda()".
I tried to set the available parameters as shown in line 41 (#inverse = kinova.inkine_LM(...)). Unfortunately this didn't solve the problem either.
Additional explorations:
Printing ets and i in IK.py line 436 showed that no abnormalities between working and bugged models.
I don't know how to solve the problem. Does anyone have a suggestion? Thanks for your reply in advance.
The bug:
Traceback (most recent call last):
File "/home/hirac/hirac/workspace/src/control_switch/control_switch/roboticstoolbox_interface.py", line 80, in
inverse = trtb.robot_ik(translation, quaternions)
File "/home/hirac/hirac/workspace/src/control_switch/control_switch/roboticstoolbox_interface.py", line 68, in robot_ik
inverse = kinova.ikine_LM(Tep)
File "/home/hirac/hirac/workspace/src/robotics-toolbox-python/roboticstoolbox/robot/RobotKinematics.py", line 1181, in ikine_LM
return self.ets(start, end).ikine_LM(
File "/home/hirac/hirac/workspace/src/robotics-toolbox-python/roboticstoolbox/robot/ETS.py", line 2584, in ikine_LM
return solver.solve(ets=self, Tep=Tep, q0=q0)
File "/home/hirac/hirac/workspace/src/robotics-toolbox-python/roboticstoolbox/robot/IK.py", line 224, in solve
q0_method[:, ets.jindices] = self._random_q(ets, self.slimit)
File "/home/hirac/hirac/workspace/src/robotics-toolbox-python/roboticstoolbox/robot/IK.py", line 469, in _random_q
q[j, i] = self._private_random.uniform(
File "_generator.pyx", line 954, in numpy.random._generator.Generator.uniform
OverflowError: high - low range exceeds valid bounds
Version information
This bug occurs in both cases. When roboticstoolbox is installedusing pip and with the github installation as stated in the readme.
Github commit hash 2a8111b (currently latest version)
Swift 1.1.0
SpatialMath 1.1.13
To Reproduce
Start up the program above. I called it roboticstoolbox_interface.py
Expected behavior
The above error might occur.
Environment (please complete the following information):
It runs on a Ubuntu 22.04 VM
Python 3.10.12
Additional context
This error is with this code reproducable for robot models: Fetch, PR2, px100, px150, rx150, rx200, vx300, vx300s, wx200, wx250, wx 250s.
The text was updated successfully, but these errors were encountered:
Hello everybody,
I have a problem using the KinovaGen3 with the IK solvers. Below is the bug and the code that caused it.
This bug has been investigated for other robot models as well, as noted in "additional context". What's curious to me is that this code works fine for robots like Panda, Mico, LBR, Puma560 and YuMi. This can be reproduced by setting the model to these parameters. e.g. "rtb.models.URDF.Panda()".
I tried to set the available parameters as shown in line 41 (#inverse = kinova.inkine_LM(...)). Unfortunately this didn't solve the problem either.
Additional explorations:
Printing ets and i in IK.py line 436 showed that no abnormalities between working and bugged models.
I don't know how to solve the problem. Does anyone have a suggestion? Thanks for your reply in advance.
The bug:
The Code:
Version information
This bug occurs in both cases. When roboticstoolbox is installedusing pip and with the github installation as stated in the readme.
Github commit hash 2a8111b (currently latest version)
Swift 1.1.0
SpatialMath 1.1.13
To Reproduce
Start up the program above. I called it roboticstoolbox_interface.py
Expected behavior
The above error might occur.
Environment (please complete the following information):
It runs on a Ubuntu 22.04 VM
Python 3.10.12
Additional context
This error is with this code reproducable for robot models: Fetch, PR2, px100, px150, rx150, rx200, vx300, vx300s, wx200, wx250, wx 250s.
The text was updated successfully, but these errors were encountered: