Go to the source code of this file.
Namespaces | |
t265_rpy | |
Variables | |
t265_rpy.cfg = rs.config() | |
t265_rpy.data = pose.get_pose_data() | |
t265_rpy.frames = pipe.wait_for_frames() | |
t265_rpy.pipe = rs.pipeline() | |
float | t265_rpy.pitch = -m.asin(2.0 * (x*z - w*y))*180.0 |
t265_rpy.pose = frames.get_pose_frame() | |
float | t265_rpy.roll = m.atan2(2.0 * (w*x + y*z), w*w - x*x - y*y + z*z)*180.0 |
t265_rpy.w = data.rotation.w | |
t265_rpy.x = -data.rotation.z | |
t265_rpy.y = data.rotation.x | |
float | t265_rpy.yaw = m.atan2(2.0 * (w*z + x*y), w*w + x*x - y*y - z*z)*180.0 |
t265_rpy.z = -data.rotation.y | |