参考 http://wiki.ros.org/ROS/Tutorials/NavigatingTheFilesystem
Example:
$ rospack find roscpp
Would return:
YOUR_INSTALL_PATH/share/roscpp
roscd [locationname[/subdir]]
ROS-Navigating the ROS Filesystem
原文:http://www.cnblogs.com/fastwave2004/p/4575718.html