Open NirViaje opened 1 month ago
It looks like vpython is not a supported backend.
If vpython is globally installed through pip my suggestion is to try installing rtb
in a virtual environment and see if that separation from your global dependencies fixes the issue
Check here first
Common issues
Describe the bug
Traceback (most recent call last): File "rtb_neo.py", line 51, in
robot.plot(qt.q, backend=args.backend)
File "/home/nirj/miniconda3/lib/python3.8/site-packages/roboticstoolbox/robot/BaseRobot.py", line 2331, in plot
env = self._get_graphical_backend(backend)
File "/home/nirj/miniconda3/lib/python3.8/site-packages/roboticstoolbox/robot/BaseRobot.py", line 2230, in _get_graphical_backend
raise ValueError("unknown backend", backend) # pragma nocover
ValueError: ('unknown backend', 'vpython')
Version information
rtb
1.1.0
python3.8.10
pip installed vpython7.6.5
Did you install from PyPI or GitHub? If PyPI what version number? If GitHub what commit hash?
Robotics Toolbox depends heavily on two other packages: Swift (3D graphics) and SpatialMath toolbox (underpinning maths utilities). If you think your issue is related to these, then please answer the questions above for them.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.