Skip to content

Commit

Permalink
Merge pull request #57 from rctoris/devel
Browse files Browse the repository at this point in the history
checks for leading slash in frame ID
  • Loading branch information
rctoris committed Jan 6, 2014
2 parents a4b1e4e + 9938d1b commit f0fa305
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 f0fa305

Please sign in to comment.