jerryfungi / Multi-UAV_Task_Allocation_SEADmission

Multi-UAVs Task Allocation
21 stars 1 forks source link

AttributeError: module 'dubins' has no attribute 'shortest_path'” #1

Open BTMOP opened 1 year ago

BTMOP commented 1 year ago

Hello, when running the AGA_SEAD.py code, the following error is displayed, namely AttributeError: module 'dubins' has no attribute 'shortest_path'” I cannot solve it, can you help me? Thank you so much. “distance = dubins.shortest_path(source_point, end_point, self.uav_Rmin[u]).path_length() AttributeError: module 'dubins' has no attribute 'shortest_path'” image

jerryfungi commented 1 year ago

Hello, when running the AGA_SEAD.py code, the following error is displayed, namely AttributeError: module 'dubins' has no attribute 'shortest_path'” I cannot solve it, can you help me? Thank you so much. “distance = dubins.shortest_path(source_point, end_point, self.uav_Rmin[u]).path_length() AttributeError: module 'dubins' has no attribute 'shortest_path'” image

The dubins package I used is on https://pypi.org/project/dubins/. However, it doesn't work on Windows without doing some modifications to the source code and the environment due to the compiler. I suggest performing it on Linux. It works well on Linux.

duhuang-2020 commented 3 months ago

Hello author! Regarding decentralized_GA_SEAD.py, may I ask if there are any relevant literature references or notes? Due to the large amount of code, it is difficult to clarify the logical relationship between them. If possible, thank you very much!