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
rosstack find pkg_name 2>/dev/null || rospack find pkg_name

This can also be defined as a Bash function

rosstack_pack(){
  rosstack $@ 2>/dev/null || rospack $@
}

and used like

rosstack_pack find pkg_name

Further magic would be required for autocompletion to work.