mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* SF45 fixes to restart the state machine if sensor does not init correctly (#23565) * fixes to restart the state machine if sensor does not init correctly Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * fixes Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * increase fail count Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * remove extra flush, switch from warn to debug, add enum states for sensor bring-up Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * remove dead code, decrease restart fail count metric, break out of loop with consec errors if over the fail count and not init Signed-off-by: dirksavage88 <dirksavage88@gmail.com> --------- Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * remove tel2 default from sf45 (#24602) Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * fix to orientation offsets for scaled yaw, removed unused param Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * Shift vertical orientation above scaling yaw operation, cp angle sign change Signed-off-by: dirksavage88 <dirksavage88@gmail.com> * SENS: RNG: SF45 changed data processing and publication design, moved to a publishing per sector design. other minor improvements * SENS: RNG: SF45: Fixed sf45 parser, added general checks to avoid potential out-of-bound access * SENS: RNG: SF45:Fix startup problems, increase frequency, robust parser, use nonblocking reads * SENS: RNG: SF45: Added timeout to sensor measurements, to compensate the lower loop time of CollisionPrevention --------- Signed-off-by: dirksavage88 <dirksavage88@gmail.com> Co-authored-by: Claudio Chies <61051109+Claudio-Chies@users.noreply.github.com> Co-authored-by: Alexander Lerach <alexander@auterion.com>