Skip to content

Commit 8450f13

Browse files
EzraBrooksgithub-actions[bot]
authored andcommitted
Update Build
1 parent 2ec60c0 commit 8450f13

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build/roslib.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4039,8 +4039,8 @@ Ros.prototype.getMessageDetails = function(message, callback, failedCallback) {
40394039
Ros.prototype.decodeTypeDefs = function(defs) {
40404040
var that = this;
40414041

4042-
// calls itself recursively to resolve type definition using hints.
40434042
var decodeTypeDefsRec = function(theType, hints) {
4043+
// calls itself recursively to resolve type definition using hints.
40444044
var typeDefDict = {};
40454045
for (var i = 0; i < theType.fieldnames.length; i++) {
40464046
var arrayLen = theType.fieldarraylen[i];
@@ -4066,6 +4066,7 @@ Ros.prototype.decodeTypeDefs = function(defs) {
40664066
if (sub) {
40674067
var subResult = decodeTypeDefsRec(sub, hints);
40684068
if (arrayLen === -1) {
4069+
typeDefDict[fieldName] = subResult; // add this decoding result to dictionary
40694070
}
40704071
else {
40714072
typeDefDict[fieldName] = [subResult];

build/roslib.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)