[Q] gyroscope apps for a samsung galaxy s - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi all, Im a noob here and this is my very first post.
Just got a samsung galaxy s (Irish version, i9000) after upgrading from a htc legend. Amazing phone and very impressed with it.
My question is does it have a gyroscope and what apps are there to use it?
I want to map an underground carpark that has no gps or data signal so the phone would have to log the path it takes by using the accelerometer and gyro (if it has one). If the app could output the data to a log file that would be amazing but I think im asking too much!

It has magnetic compass, and x,y,z accelerometers. Best thing to do is give it a proper try (some people commented that the compass in some older firmwares was a bit off though).
I don't believe there are any gyro's but Gyro's probably need recalibration every so often anyway (internal or otherwise). If you hold the phone a constant way (flat), I'd imagine there should be sufficient information to be accurate (because you know that Z axis is always 9.8m/s, and any changes in Z from are height
All you can do is test it though..

First: the keyword is inertial navigation (search on wikipedia).
Sorry, but I have to disappoint you:
It is theoretically possible to do what you want to do by using data from the accelerometer and compass sensors.
However the accuracy of the integrated accelerometer is way too low for this purpose (integration drift).
I would expect about 100m drift after 1min of measurement.
If you still want to try this, i'd recommend to run/drive as fast as you can

Related

[Q] Compass Calibration

I've read complaints of GPS and G-Sensors being out of whack, but didn't see anything on forum about compass calibration.
I noticed on my i9000 yesterday that while tracking myself on Google maps, that the compass should me pointing about 20 degrees to the right of the direction I was actually driving. In aviation, we call that crabbing, and it's normal based on wind, but not in a car.
I turned the direction my phone was pointing and the heading on the vehicle in the map started tracking properly. I guess my phone needs a little compass calibration.
Any idea where to this from? I'll dig around in the debug settings when I get some time, but hoping others might have found it already.
Thanks.
there are some free compass apps on android market that will display an actuall compass on your screen - and those will have a calibration tool you use when setting the compass up
No need for a special command.
Just turn the device 180 degrees and backwards two or three times in any program which uses the compass and it will be calibrated.
I'm a pilot too and I actually purchased a magnetic compass for my car and noticed the same thing. Haven't tested the phone's compass in my car though.
Are you forgetting some planes have Compass Deviation Cards to compensate for errors caused by the aircraft itself perhaps? Remember, cars have a significant amount of electronics, and a magnet in the alternator that can affect the direction of the compass (the magnetic flux created by the car is actually what triggers traffic light changes, so it probably isn't miniscule).
Btw, not sure crabbing is the correct term here (normally crabbing is isolated to wind I think). Correct me if I'm wrong (I'm still PPL).
Not sure about google maps, but I have noticed my hardware GPS (Navman's and that other rubbish which will be collectors items soon) actually use track, rather than heading.
distortedloop said:
I've read complaints of GPS and G-Sensors being out of whack, but didn't see anything on forum about compass calibration.
I noticed on my i9000 yesterday that while tracking myself on Google maps, that the compass should me pointing about 20 degrees to the right of the direction I was actually driving. In aviation, we call that crabbing, and it's normal based on wind, but not in a car.
I turned the direction my phone was pointing and the heading on the vehicle in the map started tracking properly. I guess my phone needs a little compass calibration.
Any idea where to this from? I'll dig around in the debug settings when I get some time, but hoping others might have found it already.
Thanks.
Click to expand...
Click to collapse
compass
I have a galaxy s and so does my daughter we both have a compass app from android market installed on our phones , both phones will not display the correct direction i have also tried a friends galaxy and his is exactly the same .
I have a xperia X10 and that displays correct directions with the same compass installed so i can only assume it is the phone at fault , i love the phone but this is annoying and i wonder if it is related to the gps problems this phone appears to have ?.
good old fashioned magnetic compasses don't work in my car, regardless of where i install them
it will always point EAST, very annoying, good thing it doesn't affect my GPS or my SGS i've yet to test the compass mode inside the car.
As i've taken it for granted no compass will work inside my car, as it has speakers every where and metals all around.
before there was such thing as a GPS, i used to be a good old scout and used maps + compasses to find my ways when driving in unknown streets
andrewluecke said:
I'm a pilot too and I actually purchased a magnetic compass for my car and noticed the same thing. Haven't tested the phone's compass in my car though.
Are you forgetting some planes have Compass Deviation Cards to compensate for errors caused by the aircraft itself perhaps? Remember, cars have a significant amount of electronics, and a magnet in the alternator that can affect the direction of the compass (the magnetic flux created by the car is actually what triggers traffic light changes, so it probably isn't miniscule).
Btw, not sure crabbing is the correct term here (normally crabbing is isolated to wind I think). Correct me if I'm wrong (I'm still PPL).
Not sure about google maps, but I have noticed my hardware GPS (Navman's and that other rubbish which will be collectors items soon) actually use track, rather than heading.
Click to expand...
Click to collapse
andrewluecke said:
).
Btw, not sure crabbing is the correct term here (normally crabbing is isolated to wind I think). Correct me if I'm wrong (I'm still PPL)
Click to expand...
Click to collapse
No, you're correct about crabbing...it's the term I learned for landing with a cross-wind and yawing into the wind to maintain your track to the runway. It's just what came to mind looking at the vehicle indicator and the roadway, it looked like a plane landing on a runway and that's what popped to mind.
Thanks to everyone else about the compass app in the market, I'll check it out.
Probably best to grab a real compass and compare to your phones one.. Then you'll know for sure.
But for GPS apps, track makes more sense because especially whilst driving, the phone has no way of knowing if it is pointed towards the front of your car.
(Btw, for non-pilots, when I say track, I refer to the direction you are actually going, rather than where you are pointed towards).
I'm a electronic engineer, A compass actually show where the magnetic field is more effective as North (and South) but what does make the differ is electronic compasses are more sensetive and may effected by a little change in magnetic field (for example holding a little ironic screw around it) so it may show wrong direction based on your country (and sometimes region). so the manufactors calibrate it on an avarage in order to make it working all around the world. but if it is not satisfying go to a service center they calibrate it for you!
(if you're geeky one you can do it on service menu yourself but it takes time to do a good calibration!)
mdh_heydari said:
I'm a electronic engineer, A compass actually show where the magnetic field is more effective as North (and South) but what does make the differ is electronic compasses are more sensetive and may effected by a little change in magnetic field (for example holding a little ironic screw around it) so it may show wrong direction based on your country (and sometimes region). so the manufactors calibrate it on an avarage in order to make it working all around the world. but if it is not satisfying go to a service center they calibrate it for you!
(if you're geeky one you can do it on service menu yourself but it takes time to do a good calibration!)
Click to expand...
Click to collapse
HI, mdh_heydari
ok, but how to calibrate? even if it is time consuming and difficult. What is the procedure in SGS I9000?
sircm4x said:
HI, mdh_heydari
ok, but how to calibrate? even if it is time consuming and difficult. What is the procedure in SGS I9000?
Click to expand...
Click to collapse
There are 2 ways, the best one is some little fixes in android kernel and the other one is making mods for famous navigation softwares like Google Maps.

GPS error caused by compass?

Hi! I hope to be usefull.
When I see the arrow in the google maps the position is always the same. Its possible that the compass can be the cause of gps error?? Its possible turn off the compass to try the gps alone??
Best regards and sorry my english.
ive also wondered about this. the arrow in mytracks spins around like crazy while moving. if gps programs use the compass to help tell the direction then thats gonna be a problem.
Does anyone know if we can test this in some way? I would gladly try any solution or help with alpha testing.
gps - compass or ...sensors?
hello I have noticed a strange behavior of the gps too..
I have done many tests with the program "GPS Test" (available free on Android Market) and I noticed that after the fix if the galaxy is moved, especially if changes from portrait to landscape ( or vice versa), the program loses the fix with the satellites (all indices of satellites in use turn gray), it never happens if i disables the landscape mode in the galaxy's settings or in the gps-test 's menu...
Maybe I'm wrong, but I think the GPS is less sensitive for satellites but too sensitive to the position variations of the smartphone (horizontal / vertical during use) .. I do not know if it happens with all programs that use GPS, but I do not think this should happen.
Federico
charlicillo said:
Hi! I hope to be usefull.
When I see the arrow in the google maps the position is always the same. Its possible that the compass can be the cause of gps error?? Its possible turn off the compass to try the gps alone??
Best regards and sorry my english.
Click to expand...
Click to collapse
Like earlier Garmin or Magellan gps, the compass should be used up to the point that the gps shows 5km/h (adjustable in some devices) because the signal of the gps is unstable and is not reliable for direction under that speed. Also...
reziel73 said:
hello I have noticed a strange behavior of the gps too..
I have done many tests with the program "GPS Test" (available free on Android Market) and I noticed that after the fix if the galaxy is moved, especially if changes from portrait to landscape ( or vice versa), the program loses the fix with the satellites (all indices of satellites in use turn gray), it never happens if i disables the landscape mode in the galaxy's settings or in the gps-test 's menu...
Maybe I'm wrong, but I think the GPS is less sensitive for satellites but too sensitive to the position variations of the smartphone (horizontal / vertical during use) .. I do not know if it happens with all programs that use GPS, but I do not think this should happen.
Federico
Click to expand...
Click to collapse
... like in some sirfstarIII gps, the receiver (gps) was adjusted so that it didn't show any movement (and speed) within a circle of 15m or 30m (also adjustable) to avoid showing movement (and direction) while you were stopped.
Another fact in this category of gps devices (single frequency, autonomous etc) is that they are much more accurate about speed (0.1km/h) than position (typically usually 5m, sometimes 2m-15m or more)
So if we don't know what the default settings for the SGS's gps are, we don't know what could really be the problem. Or do we?
Anyone who knows more about the gps hardware used in SGS could help...
It would indeed be interesting to try to disable the compass altogether and see what the effect on GPS is.
Perhaps I'll look at this. I'm not a big GPS user myself so proper testing would definitely not be me.
I am using "Maverick" from the market and it seems to be working properly....
thnks about all. Im sure that someday we'll have a operative gps. Keep investigating.
Regards.

[Q] How to disable compass?

I'm increasingly convinced that the compass may be at least partly to blame for poor gps tracking. I'd like to experiment with disabling and/or tweaking the compass but don’t know where to start fiddling with compass settings.
Suggestions?
Sent from my GT-I9000 using XDA App
There has been some work on what causes the gps problems with captivate, notably by developers CLShortFuse and Da_G. Some of the discussions are quite technical. I don't recall the compass being implicated, however. If you are interested in pursuing gps info, search out threads by the above two developers. For starters, try this one.
I know this is an old thread, but I think there is something to it...
@creepyncrawly: I came to the same conclusion last night. The Captivate gets brilliant SNo while sitting on my desk. If I turn it while still on the desk, I lose all satellite locks. I think that is what introduces the error.
Open up GPS Test and watch the compass output. It's all over the place, while for me at least, the lat/long stay pretty steady. For example, completely still it wobbles, a lot. When I rotate the phone, the bearing wildly fluctuates. Turning it 180 degrees doesn't give a 180 degree shift in bearing either.
I think the phone is being mislead into thinking its moving by either the accelerometers or the compass. I think my next test will be a good strong magnet in close proximity while the phone is stationary.
I tried killing the compass daemon, but it comes back. I've tried removing it from the init script, but it must be a protected file. Next trick will be to just delete the binary I think.
My second idea is decreasing the port speed of the GPS module, not sure that would do anything constructive though.

[Q] Digital compass help?

I've only now discovered that the issues I've been having with certain apps are because the One has no magnetic compass sensor, only a digital compass. Is there any way to enhance the compass accuracy or otherwise calibrate it?
I ask, because when playing Ingress, my orientation is never even close to correct. I have to manually adjust the screen (while driving, ACK!??!) if I want to follow along with the route I'm driving, and of course the arrow is never pointed in the right direction which can make deploying resonators a little more confusing.
I'm also starting to get into geocaching, and without a working compass app, I have to carry another phone or an actual compass along with me. So spur of the moment geocaching can only happen if I happen to have one at the time.
And of course I'm sure everyone's heard about Sky Maps not working properly either, which is just a bummer.
Bumperoonie, Surely someone out there has similar problems or the knowledge to tackle this... anybody?

Calibrate accelerometer and/or gyroscope

Hi!
I am facing problems with the orientation sensors (accelerometer and/or gyroscope), because installing several applications to test them (or use games), it is clearly observable, that they are a bit off (with enough to be disturbing when required). For example, games or tests that simulate a ball, and my phone is laying on a horizontal table, the ball rolls quickly to the edge of screen. This happens as well with the built-in tests in the "service menu" of the phone, for accelerometer and gyroscope also.
Do you have any suggestions how could I calibrate these sensors globally (for every app)?
Thanks.
Info
vetko said:
Hi!
I am facing problems with the orientation sensors (accelerometer and/or gyroscope), because installing several applications to test them (or use games), it is clearly observable, that they are a bit off (with enough to be disturbing when required). For example, games or tests that simulate a ball, and my phone is laying on a horizontal table, the ball rolls quickly to the edge of screen. This happens as well with the built-in tests in the "service menu" of the phone, for accelerometer and gyroscope also.
Do you have any suggestions how could I calibrate these sensors globally (for every app)?
Thanks.
Click to expand...
Click to collapse
factory Reset ur phone and then use PC companion app to Repair Firmware...
this can wipe current data and install fresh firmware on ur device
:good:
Hi,
I have the same problem. Only the x axis of the accelerometer seems to be affected : it show a value around 1 instead of 0 while the phone is sitting flat. Y and Z display normal values.
All the software solutions I have tried have had no effect at all... It seems the built-in test reads raw data from the accelerometer. It is hard to imagine how this can be a hardware problem though...
Anyway, in my case I believe a software fix (x=x-1) would do the trick but I have no idea how to do such a thing ! Any help ?
@vekto : Have you solved the issue by any chance ?
Would anyone care to try the accelerometer tests and post their results ?
Typing *#*#7378423#*#* will get you on the service menu. The two significant tests are "accelerometer" and "gyroscope".
I'd post some screenshots myself but I'm not allowed yet...
I'm having the same problem now. It seems one axis is affected. Haven't found a way around so far. This is sad because it affects the images taken with Google Camera Sphere mode. The images are badly aligned together with glitches in between. My phone wasn't like this before.
Either a SW fault - might be able to calibrate with GPS Status & Toolbox app, for example - or a FW fault - and reflashing ROM might help (highly unlikely) - or HW fault - the sensor has moved on the board (which is a bad sign anyway, might be on the way to disconnecting itself).
I sent mine to Xperia Care and got it back with the accelerator fixed. Still unclear if it's a HW problem...
It came back with a white spot on the screen (near the power button) though... so I sent it back again
I'm also having issues with the gyroscope. Installed Bubble app to calibrate the gyro. It showed the gyro was of a couple of degrees. Unfortunately the bubble app calibration doesn't work in a game like Need for Speed. It's very difiicult to achieve good times in the game right now since I have to hold it tilted to the left to go straight ahead.
So if anyone has a fix or workaround... Please do post.
Same problem, Seems after factory reset whith wipe dalvik cache.
any solution?
02nd March 2017, my autorotate has completely stopped working, restart, safe-deposit and reset do not fix. Diagnostics show Gyroscope Light Sensor and accelerometer failed testing, 3 years of same issue, surely there must be a fix that works by now?? ( please note, " turning it off and on again " does not fix it )
Helps Please
I have the same issue. Since last week, gyro, accelerometer, light and proximity sensors stop working. I've tried reflashing stock ROM without success. I have not warranty (almost 3 years old), so I even try to disassemble , disconnect an reconnect every flex (I don't know exactly were the sensors are located on the board). After that I get almost 8 hours of fully functionally sensors and then, they stop working again, so I'm almost sure it's a hardware issue.
Same problem for 3 years
I'm just now getting around to doing something about this. As my power button stopped working I can't post requested screenshot without going to the pc. I have been shopping new (fall 2018) phones after having the Z3+ since release. In my research I'm finding the phone still is better than Samsung, LG, and the pixel3 for me because the 3.5mm phone jack is mandatory for me using my device with an i-rig midi requiring both that port and the USB at the same time. I'm going to do everything I can to keep using this phone till it falls to dust. It's one of 4 Sony I've bought since the day Z1 came out of t-mo. I look forward to testing solutions. :good:
Some time after my post, I bought a new jack/proximity sensor flex and replace it. This solved the issue, but weeks later, the bottom portion of the touch screen becomes unresponsive. May be I have done something wrong... may be programmed obsolescence...
Hi I'm facing a problem of my gyroscope I don't know which one is not working a gyroscope or accelerometer. My gyroscope is so delay when I play pubg mobile and I can't also calibrate my Gsensor it always says FAIL but I put in a perfect flat surface please please please help me with this problems

Categories

Resources