paparazzi/paparazzi — pull request #461 by EwoudSmeur (2013-06-13 09:52:59+00:00)
Title: fixed integer division that resulted in zero setpoint

The constants max_phi_scale etc. were zero because it is an integer divide where the denominator is larger (depending on STABILIZATION_ATTITUDE_SP_MAX_PHI). This causes the euler setpoint to always be zero. This is solved by doing the division after multiplying with the radio control values.