Skip to content

Commit

Permalink
checks for leading slash in frame ID
Browse files Browse the repository at this point in the history
  • Loading branch information
rctoris committed Jan 6, 2014
1 parent a4b1e4e commit 9938d1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/roslib.js
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,9 @@ ROSLIB.TFClient.prototype.processFeedback = function(tf) {
var that = this;
tf.transforms.forEach(function(transform) {
var frameID = transform.child_frame_id;
if (frameID[0] !== '/') {
frameID = '/' + frameID;
}
var info = that.frameInfos[frameID];
if (info !== undefined) {
info.transform = new ROSLIB.Transform({
Expand Down
Loading

0 comments on commit 9938d1b

Please sign in to comment.