Skip to content

Question about search algorithm A start #4

@baifanxxx

Description

@baifanxxx

Hi Wang,

Thank you for your projects and contributions. I follow your work for some time. Recently, I have a question about search algorithm A start which you used. In my simple test, there are two objects, their start point are [32,32],[48,48], two target point are [20,20],[48,48]. When I select the first point to move to target by action A*, the path I draw is not the best in real world, may be best with computing cost of the A* in discrete space.

https://github.com/baifanxxx/IPM-MovePlanner/blob/main/IPM-MovePlaner/figs/figtest2.png
https://github.com/baifanxxx/IPM-MovePlanner/blob/main/IPM-MovePlaner/figs/figtest.png

In my view, to smooth the path point or get the best path in the real, we should adjust the cost function of A* or replace A* with D*. Can you tell me where is the cost function of A* in search.cpp?

Best regards,
BAI Fan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions