def create_p_yaw_model_tf(d, gp):
    """ 
    Create transfer function for fly yaw dynamics model with proportional
    controlller.

    Arguments:
      d  = damping
      gp = proportional gain

    Returns:
      tf = transfer function.
    """
    def tf(s):
        return gp/(s + d + gp)
    return tf