generate deflection sequence - ksoltan/RoboFish GitHub Wiki
generate_deflection_sequence
Performs Fourier Transform to get first order behavior of the angular deflection of each joint over time.
Parameters:
joint_lengths - Array of respective lengths of each joint
posture_func - Swimming model function
Returns:
Array whose nth row contains the [amplitude, frequency, phase] of
the nth joint.