Robotics StackExchange | Archived questions

How to execute Dijkstra algorithm on the robot?

I am using Robotino Festo. I want to execute Dijkstra algorithm which comes with the navigation stack in global planner folder. Every time I try to execute with rosrun there comes an error which says no executable found. How do I execute this algorithm from catkin workspace?

I am using Indigo. I downloaded the navigation stack from Github. I compiled using catkin_make.

Asked by ros_beginner101 on 2016-08-09 06:34:40 UTC

Comments

There isn't enough information here to answer your question. Please be specific about which version of ROS you're using, the tutorial you're following (if there is one), where you downloaded the code from, how you compiled it, the exact command that you're trying to run, and the exact error message.

Asked by ahendrix on 2016-08-09 11:39:33 UTC

I updated the question

Asked by ros_beginner101 on 2016-08-11 08:53:41 UTC

We'll literally need to know the exact commands and the exact errors. What text are you entering into the command prompt and what text is output?

Asked by Airuno2L on 2016-08-11 09:47:59 UTC

It sounds like rosrun isn't found. That's caused by not setting up your environment correctly. Make sure you've run the workspace creation tutorial. And remember, you need to add the two source lines to the shell startup script.

Asked by Mark Rose on 2016-08-11 10:56:00 UTC

Answers

I think the main problem here is that Dijkstra in move_base is part of the global planner plugin. Therefore it is just a library and not an executable. Hence, you cannot execute Dijkstra as a standalone component.

Asked by Chrissi on 2016-08-13 15:18:43 UTC

Comments