Thread
:
Is this suffice way to detect movement using Python?
View Single Post
Flandry
2010-02-26 , 15:09
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#
3
Presumably you tried it and it works somewhat, just not "brilliantly". What's your question?
It looks ok to me but you may want to put in a delay (sleep) step so that (1) you don't peg the CPU at 100% and (2) it doesn't read more frequently than the accelerometer can update.
Edit: what he said
__________________
Unofficial PR1.3/Meego 1.1 FAQ
***
Classic example of arbitrary Nokia decision making.
Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME
: an arcade in your pocket
Accelemymote
: make your accelerometer more joy-ful
Quote & Reply
|
Flandry
View Public Profile
Send a private message to Flandry
Find all posts by Flandry