File "neo.py", line 143, in <module>
step()
File "neo.py", line 93, in step
Ain[:n, :n], bin[:n] = panda.joint_velocity_damper(ps, pi, n)
File "robot/Robot.py", line 1423, in joint_velocity_damper
Bin[i] = -gain * (((self.qlim[0, i] - q[i]) + ps) / (pi - ps))
TypeError: 'float' object is not subscriptable
RTB version
1.4.2
Python version
3.10.21
Operating system
macOS
Expected behavior
When running
robotics-toolbox-python/examples/neo.pythere should be no error.Actual behavior
When running
robotics-toolbox-python/examples/neo.py, the following error is encountered:Minimal reproducible example