diff --git a/rostsd_gen/index.js b/rostsd_gen/index.js index dbb9b647..352ca663 100644 --- a/rostsd_gen/index.js +++ b/rostsd_gen/index.js @@ -64,6 +64,7 @@ function getPkgInfos(rootDir) { for (let filename of files) { const typeClass = fileName2Typeclass(filename); + if (typeClass.type !== 'srv' && typeClass.type !== 'action' && typeClass.type !== 'msg') continue; if ( !typeClass.type || pkgFilters.matchesAny({