transfer function

Please tell me what is the transfer function they use in the balancing example of the minizumo robot 32U4

We have not calculated the transfer function for our example balancing code. If you need to derive that function and have any questions about how the example code works, please feel free to post here. Also, we would be interested to see your results if you derive a transfer function.