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

roscreate-pkg: command not found

asked 2013-11-06 00:44:17 -0500

Reza1984 gravatar image

Hi there I'm new in working with ROS. I'm trying to create a package by the following command:

roscreate-pkg beginner_tutorials std_msgs rospy roscpp

but I get the following error

roscreate-pkg: command not found

I appreciate if you help me.

edit retag flag offensive close merge delete

Comments

Do other ROS bash command work? Like roscd/rosmsg/...

BennyRe gravatar image BennyRe  ( 2013-11-06 04:04:33 -0500 )edit

Yes, but rospack and roscreate-pkg doesn't work. Btw I'm working with fuerte in ubuntu 12.04

Reza1984 gravatar image Reza1984  ( 2013-11-06 04:21:05 -0500 )edit

Did you source the setup.bash?

BennyRe gravatar image BennyRe  ( 2013-11-06 04:30:10 -0500 )edit

Thanks aloooot, I forgot to do it!

Reza1984 gravatar image Reza1984  ( 2013-11-06 04:47:08 -0500 )edit

Ok great I'll post it as an answer, so you can accept it.

BennyRe gravatar image BennyRe  ( 2013-11-06 04:52:42 -0500 )edit

hi,i have the same problem i have add the " source /opt/ros/hydro/setup.bash source ~/hydro_workspace/sandbox/setup.bash " but i still have the same problem,can you please help me.

meriemm gravatar image meriemm  ( 2015-04-17 15:33:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-06 04:53:17 -0500

BennyRe gravatar image

Source your setup.bash

You may want to put this in your .bashrc

edit flag offensive delete link more

Comments

hi,i have the same problem i have add the " source /opt/ros/hydro/setup.bash source ~/hydro_workspace/sandbox/setup.bash " but i still have the same problem,can you please help me.

meriemm gravatar image meriemm  ( 2015-04-17 15:34:45 -0500 )edit

Sourcing two setup.bash makes no sense. The first source gets overwritten by the second one. Have you set up your workspace correctly?

BennyRe gravatar image BennyRe  ( 2015-04-20 04:00:42 -0500 )edit

Question Tools

Stats

Asked: 2013-11-06 00:44:17 -0500

Seen: 1,203 times

Last updated: Nov 06 '13