Right - it's the deceleration and delay that I'm hoping I can use to determine that the forklift has stopped moving. And yes, there are simpler ways to do everything - but if I was going for simple, I would have stationary, wired workstations running our ERP software, not a mobile app running on the truck.
On Tue, Nov 2, 2021 at 7:09 PM doc hawk via use-livecode < use-livecode@lists.runrev.com> wrote: > > mike mumbled, > > > > is anyone using the mobile accelerometer functionality? > > i am thinking of adding it to our shop floor app to stop updates while > > forklifts are moving. > > I used it a few years ago to move something around the screen by tilting. > It was rather straightforward: just read the things and use the related > trigonometry (to figure out the angle it is held at in X & Y). > > However, the accelerometers will *not* tell you whether or not something > is moving—once speed is reached, the acceleration drops to “zero” (gravity > will still be detected). > > It could tell you that motion started, though, and you could lockout for > however many minutes after any acceleration. > > Or, you could numerically integrate to get an estimate of speed, and later > measure decelerations. > > But wouldn’t it be simpler to just let updates happen off-shift? > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode