Matthias Grob 5f3cbbbbc2 mc_pos_control: changed thrust calculation to 3D projection onto body z axis
until now the desired thrust was simply the absolute value of the thrust setpoint vector
but a multicopter is only capable of producing thrust in its (negative) body z axis
this leads to excess thrust during attitude tracking errors

one important use case is:
trying to land with minimal thrust in NED z axis against gravity
but the position controller still correcting some small horizontal estimation errors
then this prevents unwanted thrust in a completely wrong direction
2017-01-16 08:25:26 -08:00
..
2016-12-27 21:00:51 +01:00
2017-01-15 01:57:38 -08:00
2016-12-27 21:00:51 +01:00
2017-01-09 15:41:54 -08:00
2017-01-14 07:47:03 -08:00
2017-01-12 02:40:56 +01:00
2017-01-12 13:28:38 -10:00
2017-01-09 15:41:54 -08:00