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

package "turtlesim_cleaner" not found

asked 2021-01-28 11:30:39 -0500

Netherdragon gravatar image

updated 2021-02-02 01:37:06 -0500

i am following the tutorial on this page http://wiki.ros.org/turtlesim/Tutoria... and there are spots that say "error: code not found" and one of those spots explains how to import the package that i need to be able to continue the tutorial. so how do i import the package so i can continue the tutorial? i am using Ubuntu 18.04 and ros melodic Thanks edit: i am still getting the same message of "turtlesim_cleaner" not found, i even went as far as to redo the entire tutorial series with making a test package and it cant even find that one. I am at a complete loss at what i haven't tried. i have even sourced into my bash.rc

edit retag flag offensive close merge delete

Comments

Your edit is a different question, so make a new post for it and list your exact steps to recreate this message.

makr gravatar image makr  ( 2021-02-02 11:19:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-01-28 21:46:30 -0500

makr gravatar image

updated 2021-01-29 06:11:30 -0500

You end up creating the package rather than importing it. I have no trouble seeing the code snippets on the page you linked, so I've copy and pasted them below:

First of all, we have to create a new package.

$ cd ~/catkin_ws/src
$ catkin_create_pkg turtlesim_cleaner geometry_msgs rospy

Now, build your workspace

#At your catkin workspace
$ cd ~/catkin_ws
$ catkin_make

And now, create a a src folder for your scripts

$ cd ~/catkin_ws/src/turtlesim_cleaner
$ mkdir src
$ cd ~/catkin_ws
$ catkin_make

Edit: transcribed the Wiki page rather than screenshot

edit flag offensive delete link more

Comments

Please don't post a screenshot of text, people can't copy and paste from it. Also, can you please post a link to the wiki page that you used?

jayess gravatar image jayess  ( 2021-01-28 23:41:27 -0500 )edit

This was a peculiar case where the user linked the Wiki page but couldn't view the code blocks for some reason. I went ahead and copy-and-pasted it anyways.

makr gravatar image makr  ( 2021-01-29 06:13:27 -0500 )edit

Question Tools

Stats

Asked: 2021-01-28 11:30:39 -0500

Seen: 544 times

Last updated: Feb 02 '21