parameters: (ros_root, ros_package_path)
return_statement: return paths
docstring: Get the paths to search for packages in normal precedence order (i.e. first path wins).
  
      :param ros_root: value of ROS_ROOT parameter, ``str``
      :param ros_package_path: value of ROS_PACKAGE_PATH parameter, ``str``
      :returns: paths to search in reverse order of precedence, ``[str]``
docstring_summary: Get the paths to search for packages in normal precedence order (i.e. first path wins).
docstring_tokens: Get the paths to search for packages in normal precedence order ( i . e . first path wins ) .
function: def _compute_package_paths(ros_root, ros_package_path):
      """
      Get the paths to search for packages in normal precedence order (i.e. first path wins).
  
      :param ros_root: value of ROS_ROOT parameter, ``str``
      :param ros_package_path: value of ROS_PACKAGE_PATH parameter, ``str``
      :returns: paths to search in reverse order of precedence, ``[str]``
      """
      paths = []
      if ros_root:
          paths.append(ros_root)
      if ros_package_path:
          paths.extend([x for x in ros_package_path.split(os.pathsep) if x.strip()])
      return paths
function_tokens: def _compute_package_paths ( ros_root , ros_package_path ) : paths = [ ] if ros_root : paths . append ( ros_root ) if ros_package_path : paths . extend ( [ x for x in ros_package_path . split ( os . pathsep ) if x . strip ( ) ] ) return paths