invoke_parrot_api can now do calibration and flat trim