KavrakiLab / vamp

SIMD-Accelerated Sampling-based Motion Planning
Other
108 stars 10 forks source link

Missing file maze.png #2

Closed pawanw17 closed 2 months ago

pawanw17 commented 2 months ago

Describe the bug Hi, Thanks for the good work! I tried to run the example script flying_sphere.py using this command

python3 scripts/flying_sphere.py --visualize

And got the following error

(VAMP) (base) pawan@pawan-Legion:~/devel/rrc/vamp$ python3 scripts/flying_sphere.py --visualize
Traceback (most recent call last):
  File "scripts/flying_sphere.py", line 57, in <module>
    Fire(main)
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/fire/core.py", line 143, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/fire/core.py", line 477, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "scripts/flying_sphere.py", line 22, in main
    hf = vamp.png_to_heightfield(
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/vamp/__init__.py", line 63, in png_to_heightfield
    image = Image.open(filename).convert("L")
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/PIL/Image.py", line 3277, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/home/pawan/devel/rrc/vamp/resources/heightfields/maze.png'

Environment:

zkingston commented 2 months ago

Thank you for reporting, the file has been added with commit dbbcd71.