1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
Commit graph

18746 commits

Author SHA1 Message Date
ctzsnooze
341d099765 sanity dist to 10m at full stop, send task interval for upsampling filter 2024-11-27 07:43:53 +11:00
ctzsnooze
412d1511f8 remove unnecessary unit test reference 2024-11-27 07:43:53 +11:00
ctzsnooze
44768ac5a6 Re-naming, fix the twitch, minor changes 2024-11-27 07:43:53 +11:00
ctzsnooze
85871039b0 Modifications, but has a big twitch when sticks stop 2024-11-27 07:43:53 +11:00
ctzsnooze
de68d34ea1 Thanks, PL, for your review 2024-11-27 07:43:53 +11:00
ctzsnooze
459c6907d8 remove static newGpsData and rescueThrottle 2024-11-27 07:43:53 +11:00
ctzsnooze
b9a4533f73 rationalise GPS_latLongVectors 2024-11-27 07:43:53 +11:00
ctzsnooze
418ee0b0cf more updates from PL review 2024-11-27 07:43:53 +11:00
ctzsnooze
4d9b17e1fe review changes from PL 2024-11-27 07:43:53 +11:00
ctzsnooze
b6c0c9ff77 updates from reviews, thanks karate 2024-11-27 07:43:52 +11:00
ctzsnooze
a429707ae2 more flexible limit on target vs current altitude 2024-11-27 07:43:52 +11:00
ctzsnooze
f31c84edc5 re-name variables in alt_hold and update comments 2024-11-27 07:43:52 +11:00
ctzsnooze
2f70f989ae fix unit test 2024-11-27 07:43:52 +11:00
ctzsnooze
92737fb9d5 remove unused debug 2024-11-27 07:43:52 +11:00
ctzsnooze
2ba392e787 alt_hold respect zero deadband, hold when throttle is zero 2024-11-27 07:43:52 +11:00
ctzsnooze
4bc8998433 rename to GPS_distances to GPS_latLongVectors 2024-11-27 07:43:52 +11:00
ctzsnooze
30252f5d30 simplify altitude control 2024-11-27 07:43:52 +11:00
ctzsnooze
ee63055a43 improved gpsStamp thanks PL
Also cleanup names and notes
2024-11-27 07:43:52 +11:00
ctzsnooze
470530fead reset the upsampling filters when resetting position control 2024-11-27 07:43:52 +11:00
ctzsnooze
39daf2f8e8 renaming variables 2024-11-27 07:43:52 +11:00
ctzsnooze
e581bfd0a0 start autopilot gpsStamp at 0 2024-11-27 07:43:52 +11:00
ctzsnooze
f988599f77 add suggestions from recent reviews 2024-11-27 07:43:52 +11:00
ctzsnooze
b07c781461 make altitude control 5x stronger with narrower deadband and new name 2024-11-27 07:43:52 +11:00
ctzsnooze
738f5973fb increase alt_hold sensitivity 5x and narrow deadband to 20 2024-11-27 07:43:52 +11:00
ctzsnooze
3ea4742acc use smaller of angle_limit or half the autopilot limit 2024-11-27 07:43:52 +11:00
ctzsnooze
c909060b67 limit pilot angle in position hold to half the configured position hold angle 2024-11-27 07:43:52 +11:00
ctzsnooze
811dc0ecb7 in autopilot modes, allow up to 85 deg for pos hold 2024-11-27 07:43:52 +11:00
ctzsnooze
6d99af0d50 Fix curly brackets, comments and debug mistake 2024-11-27 07:43:52 +11:00
ctzsnooze
5d8b4112f8 limit max angle to 50 by vector length 2024-11-27 07:43:52 +11:00
ctzsnooze
add64ebfe1 fix braces 2024-11-27 07:43:52 +11:00
ctzsnooze
bc428c9cf5 fixes after review changes weren't right 2024-11-27 07:43:52 +11:00
ctzsnooze
0296028daa restore angle limiting in pid.c , max of 80 degrees allowed in CLI 2024-11-27 07:43:52 +11:00
ctzsnooze
a57507bba0 implement review from PL - thank you! 2024-11-27 07:43:52 +11:00
ctzsnooze
44187b84a0 hopefully the last cleanup of this test file 2024-11-27 07:43:52 +11:00
ctzsnooze
ee749af774 make altHoldState_t local, getter to pass unit tests. 2024-11-27 07:43:51 +11:00
ctzsnooze
410f3af205 fix instability on hard stop, allow activation after arming but before takeoff 2024-11-27 07:43:51 +11:00
ctzsnooze
e0733f3691 extend sanity check distance while sticks move; refactor; comments 2024-11-27 07:43:51 +11:00
ctzsnooze
5db1da8b1a stop more cleanly, easier sanity check, phases, debugs complete 2024-11-27 07:43:51 +11:00
ctzsnooze
27a7d2e4af fix debug, tidy up EF axis names, add comments about sign and direction 2024-11-27 07:43:51 +11:00
ctzsnooze
d3e3fd0c1a rearrange status checks 2024-11-27 07:43:51 +11:00
ctzsnooze
5719214d91 replace angleTarget in pid.c only when autopilot is active 2024-11-27 07:43:51 +11:00
ctzsnooze
93e8cb6415 lenient sanity check, message for noMag, possible DA vector limit code 2024-11-27 07:43:51 +11:00
ctzsnooze
2c4d45d716 bane of my life 2024-11-27 07:43:51 +11:00
ctzsnooze
3ba9d2a92a PID and filter revision 2024-11-27 07:43:51 +11:00
ctzsnooze
d66141edea sequential PT1's, refactoring from reviews 2024-11-27 07:43:51 +11:00
ctzsnooze
8c1c2d4fbd rebase, pass unit test 2024-11-27 07:43:51 +11:00
ctzsnooze
421d104f66 disable angle feedforward in position hold 2024-11-27 07:43:51 +11:00
ctzsnooze
0f1e7bae2c warn if posHold mode requested but throttle not above airmode activation point 2024-11-27 07:43:51 +11:00
ctzsnooze
a700bff52a upsampling filter at 5Hz 2024-11-27 07:43:51 +11:00
ctzsnooze
532c8faa98 implement reviews, reduce PID gains 2024-11-27 07:43:51 +11:00