Skip to content

Commit 6a8453b

Browse files
committed
[TS] Use srvs as the namespace for slam_toolbox (#991)
1 parent 0041ebf commit 6a8453b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rostsd_gen/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,9 @@ function isInternalActionMsgInterface(rosMsgInterface) {
361361
function isInternalServiceEventMsgInterface(rosMsgInterface) {
362362
let name = rosMsgInterface.type().interfaceName;
363363
let subFolder = rosMsgInterface.type().subFolder;
364+
// Some package puts .srv files under srvs/, e.g., slam_toolbox.
364365
return (
365-
(subFolder == 'srv' || subFolder == 'action')
366+
(subFolder == 'srv' || subFolder == 'srvs' || subFolder == 'action')
366367
&& name.endsWith('_Event')
367368
);
368369
}

0 commit comments

Comments
 (0)