Re: [ros-users] How to restore "package" status of a copied …

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Nye-emner: Re: [ros-users] How to restore "package" status of a copieddirectory
Emne: Re: [ros-users] How to restore "package" status of a copied directory
Hi Alex,

I think ROS should recognize the package after it is copied.
I sometimes do that, too. You just have to make sure that the new path
is in your ROS_PACKAGE_PATH. You can check that by using "roscd
<yourpackage>". If you end up in your package directory you are fine.
Also make sure that you do a "make clean" before "rosmake".

Juergen

Am 25.01.2011 19:17, schrieb Alex Brown:
> Hi all,
> I’m a newbie, please take pity if this is a dumb question.
> I developed a package on my desktop computer with cturtle and ubuntu
> 10.10. It did a “rosmake” just fine and executed properly.
> I copied the package folder to my robot’s laptop and installed it in the
> same location. Everything looks the same and the executables ran
> properly out of the bin directory.
> But when I make a minor code change and attempt to do “rosmake”, it
> tells me “….And current directory ‘Leaf_IO’ is not a package name or
> stack name.”. Well, it is on my desktop.
> So, is there a trick to get ROS to recognize this as a package again? or
> do I get to build the package from scratch?
> Thanks,
> Alex
>
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users

m