0
$\begingroup$

Rosanswers logo

Hi Everyone,

I am working on my project but now i am puzzled at A* algorithm implementation. I have successfully done these things. please see the attached image https://s12.postimg.org/f3o1xtprx/Working.png Anyone please guide me how to implement A* algorithm.

Thanks


Originally posted by xeeshan on ROS Answers with karma: 5 on 2016-11-03

Post score: 0


Original comments

Comment by mgruhler on 2016-11-03:\

  1. What is your question? This seems like asking for help on a homework.
  2. Where is your actual problem in implementing it? Don't you understand the algorithm?
  3. Gazebo is a simulator, you don't implement an algorithm for navigation in there
  4. What are those images supposed to tell us?

Comment by xeeshan on 2016-11-03:
Sorry for the confusion. Actually, I have followed tutorial of pioneer robot model and successfully executed the simulation in Gazebo and RVIZ. In the Image attached shows the current progress like in the image the red arrow that tells the robot to move in that direction.

Comment by xeeshan on 2016-11-03:
But I need to set a point on the map and calculate the distance through A* algorithm. For this I need help that where I have to write A* code (in global planner or in local planner).

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

The move_base package will do that for you. By default it uses Dijkstra's algorithm which is very similar to A-star, but you can change it to A-star if you like.


Originally posted by shoemakerlevy9 with karma: 545 on 2016-11-03

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.