Safe Haskell | None |
---|---|
Language | Haskell2010 |
- findPackageDeps :: FilePath -> IO [FilePath]
- findPackageDepNames :: FilePath -> IO [String]
- findPackageDepsTrans :: FilePath -> IO [FilePath]
- findMessages :: FilePath -> IO [FilePath]
- findMessage :: String -> String -> IO (Maybe FilePath)
- findMessagesInPkg :: String -> IO (FilePath, [FilePath])
- findDepsWithMessages :: FilePath -> IO [String]
- hasMsgsOrSrvs :: FilePath -> IO Bool
- findServices :: FilePath -> IO [FilePath]
Documentation
findPackageDeps :: FilePath -> IO [FilePath] Source
Find the paths to the packages this package depends on as indicated by the manifest.xml file in this package's root directory.
findPackageDepNames :: FilePath -> IO [String] Source
Find the names of the ROS packages this package depends on as indicated by the manifest.xml or package.xml file in this package's root directory.
findPackageDepsTrans :: FilePath -> IO [FilePath] Source
Transitive closure of findPackageDeps
. Find the paths to the
packages this package depends on as indicated by the manifest.xml
file in this package's root directories and the manifests in the
root directories of the dependencies, and so on.
findMessages :: FilePath -> IO [FilePath] Source
Return the full path to every .msg file in the given package directory.
findMessage :: String -> String -> IO (Maybe FilePath) Source
Find the path to the message definition (.msg) file for a message type with the given name. The first argument is a home package used to resolve unqualified message names. The second argument is the name of the message type either in the form "pkgName/typeName" or "typeName". The specified package will be searched for using the search paths indicated in the current environment (ROS_PACKAGE_PATH and ROS_ROOT).
findDepsWithMessages :: FilePath -> IO [String] Source
Find the names of the ROS packages the package at the given
FilePath
depends on as indicated by its manifest.xml
file. Only
those packages that define messages or services are returned.
hasMsgsOrSrvs :: FilePath -> IO Bool Source
findServices :: FilePath -> IO [FilePath] Source