def METHOD_NAME(self, target, source, rclpy_time):
    transform = TransformStamped()
    transform.header.frame_id = target
    transform.header.stamp = rclpy_time.to_msg()
    transform.child_frame_id = source
    transform.transform.translation.x = 42.0
    transform.transform.translation.y = -3.14
    transform.transform.translation.z = 0.0
    transform.transform.rotation.w = 1.0
    transform.transform.rotation.x = 0.0
    transform.transform.rotation.y = 0.0
    transform.transform.rotation.z = 0.0
    return transform