add depth and setpoint parameters to fit_all