Path: csiph.com!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.unit0.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Sun, 11 Dec 2016 04:57:20 -0600 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: Mars lander crash References: <91e540d9-f110-4665-912d-5200cc0bc104@googlegroups.com> Date: Sun, 11 Dec 2016 10:57:20 +0000 Message-ID: <87fulu68dr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:HcwMyeZFvlgn+WqBGJbga/KlAOc= MIME-Version: 1.0 Content-Type: text/plain Lines: 16 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-eF2leuxPUOVyBmpy9/CJuyTsSbMadTwBy2Pu8SwgcuYHQ/JuxKLDa8zjOfUoDgaZekSt1T5nbOJJAj6!wA56gTlVIu1cfjM5CqS9b9UAEdaaD4/PurdXuHhw+qECPzHVUbtQ9dk4AuSJ3xf9YOqZ X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1617 Xref: csiph.com comp.lang.c:98774 already5chosen@yahoo.com writes: >> 2) How can you explain (if it wasn't an overflow) that the height >> changed sign? > > Result of Kalman filter or of similar algorithm. Taken uncritically by > the rest of program logic. Doesn't even have to be anything as complicated as a Kalman filter. If you say delta(estimated_height) = estimated_velocity * delta(t) then an overlarge (saturated) descent velocity reading will cause delta height to become large and negative.