Robotics StackExchange | Archived questions

I am having problem in Creating a ROS Package

in creating the ROS Package of Beginners_tutorials it has created in home folder but not in source folder so when ever i use the cvommand

roscd beginnertutorials it gives roscd: No such package/stack 'beginnertutorials'

and such things happen please help me

Asked by saikishor on 2014-12-27 08:12:27 UTC

Comments

You have to provide more information on what you are doing. Provide as much info as u can. Yours looks like it was typed out in a hurry.

Asked by neoDEH on 2014-12-28 12:22:21 UTC

why is the folder outside of the catkin workspace source folder in the first place?

Asked by l0g1x on 2014-12-29 00:28:13 UTC

Answers

Tutorial, Read This Tutorial, you will find, where are u doing wrong.Chapter 2 and 3 will solve ur problem.

Asked by KDROS on 2014-12-30 06:47:49 UTC

Comments

Most probably you have to add the new package path.

  • First check the ros stack paths using export | grep ROS
  • copy all the packages paths after the ROS_PACKAGE_PATH=
  • then export the new stack path for the Beginners_tutorials after the old paths using ":" some thing like that export ROS_PACKAGE_PATH=/home/user/ros/ros-pkg:/Beginners_tutorials/path
  • then use cd to the new stack folder and rosmake (if you did not do that before).

hopefully this will fix the problem.

Asked by Anas Alhashimi on 2014-12-30 07:13:56 UTC

Comments

i tried but nothing is happening please help me

Asked by saikishor on 2015-01-01 01:46:16 UTC

please provide more details. for each step what you got?

Asked by Anas Alhashimi on 2015-01-07 11:54:11 UTC