Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

plan.robotplanning.wizard() NameError #43

#1

Hi,
I'm trying to setup the robotplanning wizard to setup / debug a motion planner. When initializing the wizard it throws the following error:

Traceback (most recent call last): File "/home/benoit/Desktop/motion-planner/klampt_env/./test_motion_planning.py", line 37, in <module> planner = plan.robotplanning.wizard(world) File "/usr/local/lib/python3.10/dist-packages/Klampt-0.9.0-py3.10-linux-x86_64.egg/klampt/plan/robotplanning.py", line 481, in wizard if isinstance(world_or_space_or_plan,WorldModel): NameError: name 'WorldModel' is not defined

the error traces back to this line in my code: "planner = plan.robotplanning.wizard(world)" which shouldn't be the problem.
This error also appears when giving a cspace instead of a worldModel.

Is it possible the name WorldModel is not defined correclty in the actual library script as mentioned here?
File "/usr/local/lib/python3.10/dist-packages/Klampt-0.9.0-py3.10-linux-x86_64.egg/klampt/plan/robotplanning.py", line 481, in wizard if isinstance(world_or_space_or_plan,WorldModel): NameError: name 'WorldModel' is not defined

  • replies 1
  • views 1.4K
  • likes 0
Benoit-LdL created from GitHub issue plan.robotplanning.wizard() NameError
#2