Problems managing workspace and ROS_PACKAGE_PATH [closed]
Hi,
I have set up ROS Hydro and use packages created with Electric. Since I can keep using rosbuild with Hydro, I stick to it. By sourcing /opt/ros/hydro/setup.bash I have a ROS_PACKAGE_PATH that is /opt/ros/hydro/share:/opt/ros/hydro/stacks. Now, when I add my workspace to this path using rosws, it tells me that the update is complete. Then I source the workspace setup.bash and echo the path again, only to find that the workspace has not been added. What could I be doing wrong ?
Thanks.
Try adding it simply by executing this command: export ROS_PACKAGE_PATH= /opt/ros/hydro/share:/opt/ros/hydro/stacks:/path/to/your/ws Does this work?
It works in the sense that the workspace is added to the path, but roscd doesn't know or recognize any of my packages.
So did you use rosws init and then rosws set? As described here: http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
Yes, I certainly did.