get posture - ksoltan/RoboFish GitHub Wiki

get_posture

Describes the carangiform swimming model as a travelling sine wave with increasing amplitude in the horizontal direction.

Parameters:

              x - Horizontal coordinate of the tail in space
              t - Time

Returns:

  Vertical (y) coordinate of posture at the specified point in time
  and corresponding to the horizontal coordinate specified.
  At each point in time, the fish body has a certain posture described
  by a function in the x,y space.

See Also:


discretize_posture