def METHOD_NAME(self):
    try:
        rclpy.spin_once(self.odometry)
        pose = self.odometry.METHOD_NAME()
        self.shared_pose.add(pose)
    except Exception as e:
        print(f"Exception in hal getPose3d {repr(e)}")