Improve behaviour when GPS Rescue is initiated close to home (#12715)
commitf69fedd1f28df1400f39d53b4fe6ce0f5651476f
authorctzsnooze <chris.thompson@sydney.edu.au>
Thu, 25 May 2023 08:02:24 +0000 (25 18:02 +1000)
committerGitHub <noreply@github.com>
Thu, 25 May 2023 08:02:24 +0000 (25 18:02 +1000)
tree4c57f8b3163788cbfd57e018f7929b07d66dcd07
parentaad197f791a05a01aad7e133cdd8d3bdaa708d4a
Improve behaviour when GPS Rescue is initiated close to home (#12715)

* When initiated close to home, descend then land, 50 deg max

* restore divisions thanks -ffast-math

* fix typo in comment

* refactoring, improving flight behaviour

* modify comments, add a constraint

* refactor throttle D Multiplier and velocity iterm, improve comments

* move out if too close, boost IMU gain in fly home
src/main/cli/settings.c
src/main/flight/gps_rescue.c
src/main/pg/gps_rescue.c