Properly convert odom to pose.