ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

file 'turtlebot3 obstacle detection' was not found in the share directory of package 'turtlebot3 example'

asked 2021-01-20 02:23:33 -0500

ckt gravatar image

I did everything step by step , but still have this problem. I also reinstall again and again,still not see the file turtlebot3 obstacle_detection in the directory. Please help me to fix the problem,thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2021-03-26 04:25:45 -0500

rodrigo55 gravatar image


I'm assuming you are trying to get the turtlebot3 repository from ROBOTIS to work. I see that there is a node called turtlebot3_obstacle_detection inside the turtlebot3_example package. First make sure you clone the correct repositories:

git clone -b dashing-devel
git clone -b dashing-devel
git clone -b dashing-devel

Once you have them cloned on your /src folder inside your workspace, compile and source your environment with

colcon build
. install/setup.bash

Once it's compiled, you can try launching the node instead of the launch file (sometimes, if a public repository indicates that is devel, then it might have things that are not working correctly yet):

ros2 run turtlebot3_example turtlebot_obstacle_detection

And that should run the node correctly. I also made this video that explains what I wrote above if you are interested:

edit flag offensive delete link more

answered 2021-03-12 06:41:46 -0500

kak13 gravatar image

Can you tell us what steps did you do? Can you explain to us more clear since we couldn't see what you did. Be sure to add details!

edit flag offensive delete link more

Question Tools


Asked: 2021-01-20 02:23:33 -0500

Seen: 336 times

Last updated: Mar 26 '21