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

Revision history [back]

click to hide/show revision 1
initial version
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 cdw being ~/catking_ws), this would come done to:

wstool set --target-workspace=src humanoid_msgs --git https://github.com/ahornung/humanoid_msgs
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 cdwcwd being ~/catking_ws), this would come done to:be:

wstool set --target-workspace=src humanoid_msgs --git https://github.com/ahornung/humanoid_msgs
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.