Estimote / iOS-Fleet-Management-SDK

Estimote Fleet Management SDK for iOS
https://developer.estimote.com
MIT License
1.18k stars 398 forks source link

Vertical, in motion stickers #263

Closed danielolivaresd closed 4 years ago

danielolivaresd commented 6 years ago

When following the nearables tutorial on your website, a Trigger with rules oforientationEquals .HorizontalUpsideDown and motionStateEquals true work fine when testing with my stickers. However when I try to use orientationEquals .Vertical or .VerticalUpsideDown + motionStateEquals true, it is quite difficult for my app to have a successful trigger event. It seems like the rules are too sensitive, meaning that it is quite difficult to have a vertical (normal or upside down) sticker while in motion.

I think that when I move the sticker (even slowly), the orientation passes to unknown (0), even if I try to keep the sticker as straight as possible. I also thought of creating a custom rule, but I think this would mean I'd need to handle raw accelerometer data. Any suggestions to have a less sensitive rule for the vertical orientation? Our use case needs the stickers to move quite a bit (attached to moving vehicles)