Error In Config Command Requires A Target Workspace
Everyone!! Tutorial: http://wiki.ros.org/nao/Installation/remote When use: cd ~/catkin_ws/ wstool set humanoid_msgs --git https://github.com/ahornung/humanoid_msgs Get this error: ERROR in config: Command requires a target workspace. I created the catkin_ws according to http://wiki.ros.org/catkin/Tutorials/create_a_workspace A lot of thanks!! edit retag flag offensive close merge delete CommentsDid you make sure that the command source ~/catkin_ws/devel/setup.bash is executed every time you open a new terminal?You should add source ~/catkin_ws/devel/setup.bash to the file ~/.bashrcMartin Peris( 2014-08-24 21:54:41 -0500 )edit1A lot of Thanks!!!Do you know what the folder I have to keep "humanoid_msgs"Is in ~/catkin_ws/src?vncntmh( 2014-08-26 07:44:52 -0500 )editContinue the same problem:~/catkin_ws/src$ wstool set humanoid_msgs --git https://github.com/ahornung/humanoid_msgs ERROR in config: Command requires a target workspace. vncntmh( 2014-08-26 08:00:04 -0500 )editadd a comment 1 answer Sort by » oldest newest most voted 5 answered 2014-08-25 01:09:40 -0500 gvdhoorn 16413 ●48 ●102 ●232 http://robotics.tudelf... updated 2014-08-27 01:38:19 -0500 ERROR in config: Command requires a target workspace. In addition to the comment of @Martin Peris: afaik the cwd needs to be the directory containing the .rosinstall file. Alternatively, you need to provide the -t WORKSPACE or --target-workspace=WORKSPACE argument to point wstool to the proper directory. For your particular situation (with the cwd being ~/catking_ws), this would be: wstool set --target-workspace=src humanoid_msgs --git https://github.com/ahornung/humanoid_msgs Edit: @vncntmh wrote: Get this error: ERROR in config: /home/vincent/src has no workspace configuration file '.rosinstall' Ah, so your source space hasn't been initialised by wstool. First do: wstool init ~/catking_ws/src then the wstool set .. should succeed. edit flag offensive delete link more CommentsUsed: wstool set ~/catkin_ws/src humanoid_msgs --git https://github.com/ahornung/humanoid_msgs Error: Too many arguments. wstool set [localname] [SCM-URI]? [--(svn|hg|git|bzr)] [--version=VERSI
updated 2013-02-02 10:15:39 -0500 Hi, I have installed Ros_groovy. And I am creating my workspace with the tutorial: "Installing and Configuring Your ROS Environment" and everything goes okay, until I write: john@john-G41D3C:~$ rosws set ~/groovy_workspace/sandbox ERROR in config: Command requires a target workspace. I try even with other name of my workspace, but i get the same error: john@john-G41D3C:~$ rosws set ~/fuerte_workspace/sandbox ERROR in config: Command requires a target workspace. What http://answers.ros.org/question/191130/error-in-catkin_ws/ am i doing wrong? edit retag flag offensive close merge delete add a comment 2 answers Sort by » oldest newest most voted 0 answered 2013-02-02 11:53:01 -0500 K_Yousif 660 ●24 ●33 ●47 http://www.rmit.edu.au... updated 2013-02-02 22:47:23 -0500 Did you create a new overlay first? $rosws init ~/groovy_workspace /opt/ros/groovy edit flag offensive delete link more add a http://answers.ros.org/question/54073/why-do-i-get-an-error-when-i-set-ros_workspace/ comment 0 answered 2013-02-02 17:15:22 -0500 ayush_dewan 1485 ●15 ●22 ●36 http://ayushdewan.word... Do this "rosws init ~/groovy_workspace /opt/ros/groovy" then source setup.bash created in workspace folder using this "source ~/fuerte_workspace/setup.bash" . Then in new terminal try roscd it should direct you to the workspace folder u have created. edit flag offensive delete link more add a comment Your Answer Please start posting anonymously - your entry will be published after you log in or create a new account. Add Answer Question Tools Follow 1 follower subscribe to rss feed Stats Asked: 2013-02-02 10:14:20 -0500 Seen: 814 times Last updated: Feb 02 '13 ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license. about | faq | help | privacy policy | terms of service | give feedback Powered by Askbot version 0.7.56 Please note: ROS Answers requires javascript to work properly, please enable javascript in your browser, here is how ( 2016-10-11 11:50:47 -0500 )editnone×
●12 updated 2014-01-28 17:15:11 -0500 ngrennan 1 ●1 ●1 Hello, I have been trying to create a ros workspace according to ROS tutorials. First, I got http://answers.ros.org/question/54871/no-ros_workspace-set-error/ this error ERROR in config: Command requires a target workspace. exactly the same https://github.com/vcstools/wstool/issues/1 situation in this question rosws problem fuerte then I fixed it and I got the following output: rosws set sandbox Add new elements: sandbox Continue: (y)es, (n)o: y Overwriting /home/turtlebot/groovy_workspace/.rosinstall Do not forget to do ... $ source /home/turtlebot/groovy_workspace/setup.sh ... in every open terminal. But now when I try roscd error in command, I get this error No ROS_WORKSPACE set. Please set ROS_WORKSPACE to use roscd with no arguments. Any idea why? Thank you. edit retag flag offensive close merge delete CommentsThis is a duplicate of http://answers.ros.org/question/54523/trouble-creating-sandbox-in-groovy/Boris( 2013-02-10 17:50:49 -0500 )editadd a comment 2 answers Sort by » oldest newest most voted 4 answered 2013-02-10 10:03:15 -0500 KruseT 7363 ●36 ●82 ●142 updated 2013-02-11 20:42:56 -0500 error in config This is a current bug in rosws, fiexed already to be released soon. In the meantime you can edit your setup.sh, and copy the line exporting ROS_WORKSPACE to the bottom of the file (copy, not move). That should fix the behavior until the fix is out. Note the setup.sh files only get updated by rosws when you run rosws regenerate. UPDATE (thanks Boris): Add the following line at the bottom of your ~/.bashrc export ROS_WORKSPACE=/home/turtlebot/groovy_workspace This line should already be at the top of the file, but the value gets removed in between. Others have to adapt the path, obviously. edit flag offensive delete link more CommentsThank you. It works.TheSkyfall( 2013-02-13 12:07:15 -0500 )editadd a comment 0 answered 2013-02-10 10:48:38 -0500 TheSkyfall 39 ●6 ●8 ●12 Thanks kruseT, What do you mean by "the line exporting ROS_WORKSPACE" ? How may I know when the problem get fixed? Thank you. edit flag offensive delete link more CommentsPlease use comments for discussions instead of "Your answer" form. Regarding ROS_WORKSPACE add the following line at the bottom of your ~/.bashrc - export ROS_WORKSPACE=/home/turtlebot/groovy_workspace.Boris( 2013-02-10 17:49:01 -0500 )editadd a comment Your An
Sign in Pricing Blog Support Search GitHub This repository Watch 12 Star 12 Fork 17 vcstools/wstool Code Issues 9 Pull requests 1 Projects 0 Pulse Graphs New issue target command line parsing is fragile to broken #1 Closed tfoote opened this Issue Nov 22, 2012 · 5 comments Projects None yet Labels bug Milestone No milestone Assignees tkruse 3 participants vcstools member tfoote commented Nov 22, 2012 tfoote@flicker:/tmp/ros_core_ws$ wstool -t src info First argument must be name of a command: -t wstool is a command to manipulate ROS workspaces. wstool replaces its predecessor rosinstall. Official usage: wstool CMD [ARGS] [OPTIONS] wstool will try to infer install path from context Type 'wstool help' for usage. help provide help for commands init set up a directory as workspace set add or changes one entry from your workspace config merge merges your workspace with another config set remove (rm) remove an entry from your workspace config, without deleting files update (up) update or check out some of your config elements info Overview of some entries status (st) print the change status of files in some SCM controlled entries diff (di) print a diff over some SCM controlled entries tfoote@flicker:/tmp/ros_core_ws$ wstool info -t src ERROR in config: /tmp/ros_core_ws/src has no workspace configuration file '.rosinstall'tfoote@flicker:/tmp/ros_core_ws$ ls src/ actionlib CMakeLists.txt gencpp genmsg langs ros roscpp_core ros_tutorials wstool catkin common_msgs genlisp genpy langs-dev ros_comm rospack std_msgs wstool.bak tfoote@flicker:/tmp/ros_core_ws$ fg emacs -nw /usr/lib/pymodules/python2.7/wstool/wstool_cli.py [1]+ Stopped emacs -nw /usr/lib/pymodules/python2.7/wstool/wstool_cli.py tfoote@flicker:/tmp/ros_core_ws$ wstool info -tsrc ERROR in config: Command require