hubernikus / dynamic_obstacle_avoidance

Closed-Form Algorithm for Dynamic Obstacle Avoidance
The Unlicense
66 stars 14 forks source link

Result for running vectorfield_inverse_obstacle.py is an all black figure #11

Closed aniri15 closed 1 month ago

aniri15 commented 4 months ago

Hello, I tried to running vectorfield_inverse_obstacle.py and other file named after vectorfield in folder example, but I got an all black figure every time, but the running result for animation_moving_obstacle is fine. What is expected result for, for example, vectorfield_inverse_obstacle.py? Thanks in advance.

hubernikus commented 1 month ago

The result of the vectorfield_inverse_obstacle.py looks like this: image

Make sure that you use an interactive python shell (ipython is quite good for that), or save the picture programmatically such that it exists. Or set a breakpoint at the end of the program. Otherwise, it will close before you see it.