We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ea8e0 commit f8fca96Copy full SHA for f8fca96
src/core/Ros.js
@@ -340,7 +340,7 @@ ROSLIB.Ros.prototype.decodeTypeDefs = function(type_defs) {
340
// lookup the name
341
var sub_type = false;
342
for (var j = 0; j < hint_defs.length; j++) {
343
- if (hint_defs[j].type === fieldType) {
+ if (hint_defs[j].type.toString() === fieldType.toString()) {
344
sub_type = hint_defs[j];
345
break;
346
}
0 commit comments