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
Exception in thread Thread-2 (run_sim):
Traceback (most recent call last):
File "/opt/miniconda3/envs/genesis-sim/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/opt/miniconda3/envs/genesis-sim/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/Users/foo/Documents/code/main.py", line 80, in run_sim
path = franka.plan_path(
^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/genesis-sim/lib/python3.11/site-packages/genesis/utils/misc.py", line 48, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/genesis-sim/lib/python3.11/site-packages/genesis/engine/entities/rigid_entity/rigid_entity.py", line 1313, in plan_path
solved = ss.solve(timeout)
^^^^^^^^^^^^^^^^^
RuntimeError: std::bad_cast
Bug Description
When running the 🦾 Inverse Kinematics & Motion Planning example from the user guide (which corresponds to the following file: examples/tutorials/IK_motion_planning_grasp.py), I get
std::bad_cast
thrown by the solver. I modified the code with respect to the original example slightly to enable running on my MacOS machine (use run_sim function, run on CPU).Steps to Reproduce
main.py:
python main.py
Expected Behavior
I expected successful execution without an error.
Screenshots/Videos
No response
Relevant log output
Environment
requirements.txt:
pip install -r requirements.txt
Release version or Commit ID
release version: 0.2.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: