i have another problem with the same project in this topic:
I think, that i can get the speed of the device with the "YAccel" property of the AccelerometerSensor. But I was wrong.
Any of you guys know how to do that?
--
in fact, I think that you'll have to combinate the 3 axis to get the total speed, and I do belive that you will have to use the Pythagoras theorem, because depending on the slope of your phone, it won't be dected by only one accelerometer.
--
You are not using the built-in GPS. To get speed (meters/sec) use the LocationSensor.LocationChanged event.
--
The GPS requires at least two satellite fixes (two LocationChanged events) before the 'speed' is calculated. The LocationSensor Interval should be about 20 secs or more (smaller values will give the device a 'heart attack.' This works best if the device is in a moving vehicle.. Yes, a moving bicycle, is a moving vehicle.
Yes, you're right, Steve.
--
--
댓글 없음:
댓글 쓰기