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

Why rosmake failed only appear on some packages?

asked 2012-06-21 06:36:27 -0500

sam gravatar image

updated 2012-07-03 20:39:36 -0500

I followed swri-ros-pkg

I download by

  svn checkout http://swri-ros-pkg.googlecode.com/svn/trunk/ swri-ros-pkg-read-only

Why only motoman stack failed to rosmake, but all others stack and packages are able to rosmake.

  ira@ira-K42JP:~/code/ros/sam_industrial/swri-ros-pkg-read-only/motoman$ pwd
  /home/ira/code/ros/sam_industrial/swri-ros-pkg-read-only/motoman

  ira@ira-K42JP:~/code/ros/sam_industrial/swri-ros-pkg-read-only/motoman$       rosmake
  [ rosmake ] No package selected and the current directory is not the correct       path for package 'motoman'.
  [ rosmake ] Packages requested are: []                                          
  [ rosmake ] Logging to       directory/home/ira/.ros/rosmake/rosmake_output-20120630-112405
  [ rosmake ] Expanded args [] to:
  []                                             
  [ rosmake ] ERROR: No arguments could be parsed into valid package or stack       names.
  ira@ira-K42JP:~/code/ros/sam_industrial/swri-ros-pkg-read-only/motoman$

How to solve it?

Thank you~


Here is the directory of motoman:

  ira@ira-K42JP:~$ rospack find motoman
  /home/ira/code/ros/sam_industrial/swri-ros-pkg-read-only/freetail/industrial/motoman
  ira@ira-K42JP:~$

Here is my path:

  ira@ira-K42JP:~$ echo $ROS_PACKAGE_PATH
  /home/ira/code/ros:/opt/ros/electric/stacks
  ira@ira-K42JP:~$
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-21 07:37:51 -0500

Lorenz gravatar image

updated 2012-07-03 23:16:48 -0500

The error says that you didn't put your package in the ros package path. Check out this answer for more information on a clean way to set up source repositories.

Edit: You seem to have several versions of motoman. The result of rospack find motoman is different from your current path.

/home/ira/code/ros/sam_industrial/swri-ros-pkg-read-only/freetail/industrial/motoman

from rospack vs.

/home/ira/code/ros/sam_industrial/swri-ros-pkg-read-only/motoman

as your current directory.

I'm not sure how motoman got into the subdirectory freetail/industrial because it is not in the svn repository you checked out. I would get rid of it or delete the complete check-out directory, i.e. /home/ira/code/ros/sam_industrial/swri-ros-pkg-read-only and check out a new, clean version.

edit flag offensive delete link more

Comments

I'm sure I have put. Because I can rosmake other packages or stacks on /media/Data/code/ros/sam_industrial/swri-ros-pkg-read-only. On that directory, only small part of stack and package I can't rosmake. My ros package path had already added to /media/Data/code/ros

sam gravatar image sam  ( 2012-06-21 16:31:24 -0500 )edit

I still believe that something must be wrong with your ros configuration. Try calling rosmake SIA20D_Mesh_arm_navigation in your home directory please. I guess it will say something like it cannot find the package.

Lorenz gravatar image Lorenz  ( 2012-06-21 21:29:40 -0500 )edit

What is the output of 'rospack find SIA20D_Mesh_arm_navigation'? Does it point to the current directory?

tfoote gravatar image tfoote  ( 2012-06-26 18:08:11 -0500 )edit

I found that rosmake SIA20D_Mesh_arm_navigation successfully,although I don't understand why. And motoman stack still do not work. I have revised my original post.

sam gravatar image sam  ( 2012-06-29 18:06:15 -0500 )edit

What's the output of rospack find motoman and what's the output of echo $ROS_PACKAGE_PATH?

Lorenz gravatar image Lorenz  ( 2012-07-01 22:52:45 -0500 )edit

I have edited the original post for these two output.

sam gravatar image sam  ( 2012-07-03 20:40:03 -0500 )edit

The trunk was recently broken by a bad check in. It looks like that may be your problem. I recommend working on the fuerte or electric branches. They should be stable. Sorry. The trunk should be fixed soon.

sedwards gravatar image sedwards  ( 2012-07-07 16:57:48 -0500 )edit

Question Tools

Stats

Asked: 2012-06-21 06:36:27 -0500

Seen: 574 times

Last updated: Jul 03 '12