Ask Your Question
0

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

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

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
1

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

rodrigo55 gravatar image

Hi,

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 https://github.com/ROBOTIS-GIT/turtlebot3
git clone -b dashing-devel https://github.com/ROBOTIS-GIT/turtlebot3_msgs
git clone -b dashing-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations

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:

https://www.youtube.com/watch?v=or-Bp...

edit flag offensive delete link more
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 75 times

Last updated: Mar 26