Skip to content
Snippets Groups Projects
Commit ef1166e8 authored by Kai Junge's avatar Kai Junge
Browse files

Working version of optitrack streamer as one node.

parent 792c232b
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ class OptitrackStreamerNode(Node):
self.get_logger().info("Reset!", throttle_duration_sec = 1)
initial_rotation = R.from_quat(cp(raw["r"]))
self.calib_rotation = initial_rotation.inv() #* initial_rotation
self.calib_rotation = initial_rotation.inv()
try:
aligned = R.from_quat(raw["r"]) * self.calib_rotation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment