EgalYue / Mobile_Marker_Based_Navigation

2 stars 3 forks source link

Artificial potential fields method: Expand the 8 searching neighborhoods to 24 neighborhoods #13

Open EgalYue opened 6 years ago

EgalYue commented 6 years ago

For Artificial potential fields method: Expand the 8 searching neighborhoods to 24 neighborhoods

Start: (1.25, 2.05) Goal: (2.25, 4.05) Grid-resolution: 0.1m

https://github.com/EgalYue/Mobile_Marker_Based_Navigation/blob/e13d918ee155875344400cdf462e6d01e105c7f9/python/pathFinding/potential_field_planning_24neighborhoods.py#L103

8to24

--------------------------------------------Following is Comparison------------------------------------------------ 8 searching neighborhoods: 8

X position: [1.25, 1.15, 1.05, 0.95, 0.85, 0.75, 0.75, 0.75, 0.85, 0.85, 0.85, 0.85, 0.85, 0.85, 0.95, 0.85, 0.95, 0.95, 1.05, 1.15, 1.25, 1.25] Y position: [2.05, 2.15, 2.25, 2.35, 2.45, 2.55, 2.65, 2.75, 2.85, 2.95, 3.05, 3.15, 3.25, 3.35, 3.45, 3.55, 3.65, 3.75, 3.85, 3.95, 4.05, 4.05]

################################################################################# 24 searching neighborhoods: 24

X position: [1.25, 1.05, 0.85, 0.75, 0.85, 0.85, 0.85, 0.95, 1.05, 1.15, 1.25, 1.25] Y position: [2.05, 2.25, 2.45, 2.65, 2.85, 3.05, 3.25, 3.45, 3.65, 3.85, 4.05, 4.05]