Skip to content

Commit

Permalink
Fixes transform
Browse files Browse the repository at this point in the history
  • Loading branch information
jskyjohnson committed May 19, 2020
1 parent 8a22169 commit 2004c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TestSubscriber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ public class TestSubscriber : ROSBridgeLib.ROSBridgeSubscriber {
}

public new static string GetMessageType() {
return "std_msgs/PoseMsg";
return "geometry_msgs/TransformStamped";
}

public new static ROSBridgeMsg ParseMessage(JSONNode msg) {
return new ROSBridgeLib.geometry_msgs.PoseMsg (msg);
return new ROSBridgeLib.geometry_msgs.TransformStampedMsg(msg);
}

// This function should fire on each received ros message
Expand Down

0 comments on commit 2004c11

Please sign in to comment.