Last night I tried the star chart app for the first time in a while, and I noticed it wouldn't rotate and wouldn't show where I was looking.
Does anyone else have problems with their orientation sensor (specifically the compass?) if you haven't tried, download Androsensor quick, it's 200K and see if Y moves more than about 20 degrees. It should, but it doesn't for me. It's stuck. Is this something I can return it for? I really need a few of the apps that use the compass...
And to verify it, if you want, you can download GPS Test which has a compass and it should not rotate much if at all.
Mines working properly on CM7, what software are you running? I had issues like that on my last phone running certain roms.
ATTsuks said:
Last night I tried the star chart app for the first time in a while, and I noticed it wouldn't rotate and wouldn't show where I was looking.
Does anyone else have problems with their orientation sensor (specifically the compass?) if you haven't tried, download Androsensor quick, it's 200K and see if Y moves more than about 20 degrees. It should, but it doesn't for me. It's stuck. Is this something I can return it for? I really need a few of the apps that use the compass...
And to verify it, if you want, you can download GPS Test which has a compass and it should not rotate much if at all.
Click to expand...
Click to collapse
What do you mean the compass should not rotate in GPS Test? Do you mean if it's just sitting there on a counter or are you saying yours doesn't move when you hold it and spin to N, E, S, and W? The compass in my GPS Test goes to 0, 90, 180, and 270 respectively. I'm on the UCKJ4 GB leak that was posted yesterday.
Related
I wrote a simple program to listen to the new TYPE_ROTATION_VECTOR sensor and just print out the values to the screen.
It runs for a little while (~5 to 10s), and then reports 0.5 in all fields, and then finally NaNs. Has anyone else tried out this new API successfully? If needed I can upload my test program somewhere, but I really just listened to the calls and printed the values out to the screen.
developer.android.com/reference/android/hardware/SensorEvent.html
OK, I got my apk ready to go.
If other people would be nice enough to test this for me, let me know if the numbers eventually go to .5 and then to NaNs.
Thanks!
Uggghhhhh, forgot the attachment.... >.>
Tested for you.
Same results as on your device. Gives numbers for 10secs or less, then .5s then NaN.
EDIT: That's in portrait. Immediate NaN in landscape.
Be aware that you have to reboot the phone to get it to reset.
This is some sort of API lockup.
I'm getting the same issue as everyone else. If I force close the app and start it back up I will get rotation data for 10s and then +/- 0.5, then NaN after about 15s.
chadrockey said:
Be aware that you have to reboot the phone to get it to reset.
This is some sort of API lockup.
Click to expand...
Click to collapse
Portrait I was able to do it a couple of times just fine.
But you're right about the reboot on landscape. After doing that, it exhibited the same behavior as portrait. Dunno if any of this helps, but figured I'd try!
Yea, thanks everyone.
I'm pretty sure this means the cool new orientation API is broken.
If anyone wants to see what this API is supposed to give us, see this InvenSense Google tech talk:
http://www.youtube.com/watch?v=C7JQ7Rpwn2k
They were the company that made the Wii MotionPlus.
Here's the Gingerbread press release from InvenSense:
http://www.invensense.com/mems/gyro...is_Sensor_Fusion_For_Android_Gingerbread.html
OK, I got it resolved!
There are 4 different speeds you can request when you make a sensor listener:
SENSOR_DELAY_FASTEST ( ~30Hz)
SENSOR_DELAY_GAME (~30Hz)
SENSOR_DELAY_UI (~16.7Hz)
SENSOR_DELAY_NORMAL (~8Hz)
I did not realize that Normal meant for slow, screen rotation sort of events.
However, the bug happens only when you use SENSOR_DELAY_NORMAL. The other 3 (I suspect GAME and FASTEST are the same) all work well.
Here is code that works on my phone. If anyone wants to test this program or look at the absolute orientation of your phone in Rotation vector, quaternion, and Euler angles, give it a shot. Thanks for your help, everyone.
Well the compass does point at the right direction but when I fired up street view and turned on compass mode, (which is pretty sweet btw) no matter how still I hold the phone or even place it flat on a table for that matter, the image keeps quivering. The image just does not stay in one place! Went into test mode and under sensors I checked it out it was the same quivering. Also under settings>display> theres an option for Horizontal calibration, funny thing is even when placed on a absolutely flat surface (I tried at different places), the small ball in the center does not stay still! Why is this so? This issue makes using sky map,street view,layar etc quite unusable because of all the jitter! Any fix for this?
Jumping around happens when you are near a magnetic field such as speaker,computer etc. move away in open area, jumping should reduce.
In the compass settings> noise filter set to strong, sensor rate slowest & buffer display ticket with green check mark.
This should solve your problem, if not then report back.
sgsI9003 said:
Jumping around happens when you are near a magnetic field such as speaker,computer etc. move away in open area, jumping should reduce.
In the compass settings> noise filter set to strong, sensor rate slowest & buffer display ticket with green check mark.
This should solve your problem, if not then report back.
Click to expand...
Click to collapse
Which compass settings are you referring to? Where do I find these settings?
Compass is a app which you can download from the market in that you will have those settings, once set you wont face that jumping issue. Mine stay still.
By saying street view are you referring to layar which shows a compass too?
Ok I'll try that out, but will changing those settings in the app apply to the whole system?
The street view I was referring to is from google maps with compass mode on.
I had the same problem as your since i installed compass & set it the right way that problem was never noticed, earlier it use to jump, so my best guess is that those settings are somehow being read by other apps too.
In my case google maps with compass mode remains quite still.
Do report back with the results.
Well I tried your fix and it worked kinda, the twitching has reduced but its still there which is very annoying. In service test under sensors it still keeps jumping around. I've also tried using it in a place free from magnetic signals but still the same. Is it this way for all galaxy s users our could mine be faulty?
Mine stays perfectly still (FW ddkb1) whats your FW?
Compass on google map works only when gps is enabled & locked, if gps is not able to lock then it might have the problem which you are describing.
Are you able to lock on to the gps (icon stops flashing)?
Well I'm on the same firmware as you (kb1). (kies keeps crashing if I try to update to kb2, but that's another issue)
The twitching issue I'm talking about should not be related to gps, on the map itself it does not twitch at all, but when I go to say new york on the map and go to street view, and enable compass mode, even if I hold the phone vedas still the image on the screen still vibrates.
I tried to replicate at my end but i don't have any issues, maps don't vibrate, however they rotate as per compass pointing (locked) to north.
What do you mean by street view, there is no such option in maps at my end, when i go to new york I see a road map only, is there something which i am missing?
Seems some setting we have is different between you & me though we both are on kb1 but cant figure out what.
sgsI9003 said:
I tried to replicate at my end but i don't have any issues, maps don't vibrate, however they rotate as per compass pointing (locked) to north.
What do you mean by street view, there is no such option in maps at my end, when i go to new york I see a road map only, is there something which i am missing?
Seems some setting we have is different between you & me though we both are on kb1 but cant figure out what.
Click to expand...
Click to collapse
Ok so i'm guessing you have never tried street view before, ok so just enter 'new york' into the search box and it will take you there, once there you will see a big red arrow pointing downwards to the map with New York written above. Click on the name and select the right most option (a man standing) that will take you to street view, once in there press the menu key and turn on compass mode. Try holding the phone still or even place it flat on a table and see if the image twitches. (Its a pretty cool thing anyways, you'll enjoy it! )
The probelm that I am facing is similar to this
Jumping Compass
Oh I have seen street view on desktop numerous time didn't know its a feature on our phones too. Now I tested street view as per your instruction & it does change its angle 5° approx & flicker but in compass mode it just show me the bottom of the 360° image & no more moves.
The issue could be in street view as its in beta testing.
The jumping compass video is what I was having the problem but after I changed the settings it got stabilized.
We can ask bala who has updated his fw to kb3 to test this if the problem is same or not.
sgsI9003 said:
Oh I have seen street view on desktop numerous time didn't know its a feature on our phones too. Now I tested street view as per your instruction & it does change its angle 5° approx & flicker but in compass mode it just show me the bottom of the 360° image & no more moves.
The issue could be in street view as its in beta testing.
The jumping compass video is what I was having the problem but after I changed the settings it got stabilized.
We can ask bala who has updated his fw to kb3 to test this if the problem is same or not.
Click to expand...
Click to collapse
Have you updated your google maps? Its at version 5.3.0 now. It could not be street view's fault because it used to work perfectly fine on my xperia x10 earlier. Come to think of it the x10 had far better gps and compass components (but seriously lacked in other areas).
Changing the settings in compass app worked only in that app itself, its not a general fix for it though.I would like to know if all i9000/i9003 have this problem...
magnetometergate?
I just bought this same phone and I'm experiencing the same jitter. This is a real show stopper since it renders useless apps like those mentioned here, panorama stitching, Google sky map and others. I'm really annoyed and thinking about returning the phone.
The Iphone 3Gs does not suffer this issue, the compass moves smooth and softly.
This seems to be a hardware problem, maybe Samsung can improve the software filter or update the sensor firmware.
Since I am using xxkb3 now I tested again but this compass jumping problem still is the same.
I remember that xxkb3 offers few calibration & tweaking of setting for compass but what these settings do is not known to us hence I have not changed anything, I still feel that this can be addressed by tweaking the settings & not really a hardware issue.
The compass in i9003 is more sensitive to magnetic field disturbance hence the problem.
I have downloaded several compass apps but none is pointing north. Anyone with same problem?
I am using Catch.com's compass app from the Market and it is pointing North fine.
Does your Google Maps report your location correctly? Also, you may want to turn Wi-Fi Location on as well. (Settings>>Location services>>Google's location service [checked]) Also, make sure GPS satellites is checked there.
Tf700's specifications says it has an electronic compass, so no gps is needed to point north.
I tryed catch.com's compass and guess what... it works, its pointing north.
The other compasses still dont work, so catch.com is the one to use.
Thanks for the tip.
KangLx said:
Tf700's specifications says it has an electronic compass, so no gps is needed to point north.
I tryed catch.com's compass and guess what... it works, its pointing north.
The other compasses still dont work, so catch.com is the one to use.
Thanks for the tip.
Click to expand...
Click to collapse
I also have this issue on mine. will give catch.com a try.
KangLx said:
I have downloaded several compass apps but none is pointing north. Anyone with same problem?
Click to expand...
Click to collapse
Mine doesn't even work with catch.com's app. I rotate the device slowly a full 360 deg. and it moves the needle about 45 deg.
This makes certain apps like SkySafari, SkyMap etc. virtually useless.
Does anyone know of a technique to re-calibrate or reset the compass to make it work?
mandables said:
Does anyone know of a technique to re-calibrate or reset the compass to make it work?
Click to expand...
Click to collapse
Mine does it too. The sensors can autocalibrate when rotated. Just like I did with my HTC Incredible, I just hold it in roughly the same orientation I'll be using it in then flip it over twice around the X axis, then rotate it sideways twice around the Y axis, then rotate around the Z axis. It usually reads accurately after doing 2 of the 3 axis but I do all 3 anyway because it takes a matter of seconds to do this.
I also have problem with compass. I tried it to calibrate, but none method works. The compass north is always heading +-45deg to screen top in landscape mode. Is there any way to reset the compass calibration (for.ex. delete some files on rooted device) or is this a HW fault? I'm on rooted stock ROM.
Sv: compass sensor
rkalas said:
I also have problem with compass. I tried it to calibrate, but none method works. The compass north is always heading +-45deg to screen top in landscape mode. Is there any way to reset the compass calibration (for.ex. delete some files on rooted device) or is this a HW fault? I'm on rooted stock ROM.
Click to expand...
Click to collapse
Count me in on compass problems. I begin to suspect that there's a hardware problem. My compass never points north, and calibrating by rotating the pad does not help. Makes geocaching rather impossible, unless you bring your own compass...
Mine seems to be mostly right using the Smart Tools one. I get a magnetic field reading of around 42.the need jumps around a bit, but not more than +/- 10 degrees.
fiidim said:
Mine seems to be mostly right using the Smart Tools one. I get a magnetic field reading of around 42.the need jumps around a bit, but not more than +/- 10 degrees.
Click to expand...
Click to collapse
Ditto, Smart Tools points north more or less accurately. (49 mag) It's off by 15 degrees, and it's 15 degrees off in the opposite direction on my sgs3.
Send from my Samsung Galaxy S3 using Tapatalk 2
I have a problem. My wife uses screebl on her NS4G and for some reason it's not working now. What screebl does is it detects if the device is laying flat or being held vertically.
I used a sensor monitor app to see what's up. It appears the gyroscope isn't working. The compass isn't working either but I think that is cause of the gyro.
What's funny is it still goes from portrait / landscape modes ok.
Any ideas on what I can do to fix this?
She is running BLACK ICE 40.5 matrix kernel.
Ok. I did a full wipe and everything is working again. Don't know what happened but it's fixed now.
[Q] Compass / attitude sensor problem, Evo3D CM 10.1 "Wild For the Night" (Jan 30)
Would have posted in the related thread but I guess I haven't been chatty enough yet.
I've been running either Gangnam Style or Wild For the Night for about as long as they have been available and generally loving them, much better than previous roms.
However, when I installed the January 30 release of 10.1 WFTN, I noticed my compass isn't working. It seems like the attitude sensor is also iffy.
When I run GPS Status, the compass always stays locked at 000 degrees regardless of what attitude I'm holding the phone in. I have tried the Tools > Calibrate Compass function in GPS status and that doesn't seem to do anything. No heading arrow appears on Maps, either.
The attitude sensor in GPS status does not seem to work either, but if I open up Bubble Level, that seems fine - so I'm not sure if the compass and attitude sensor actually have any trouble, or if it's simply that some apps can't communicate with them properly.
This all comes up because I was trying to use photosphere and it can't figure out what angle I'm holding the phone at so it never takes a picture. I used the photosphere zip from the E4GT Wild For The Night thread, as suggested by Dastin.
I tried various combinations of reflashing the ROM, wiping cache + dalvik and reflashing the rom, reflashing Gapps, and reflashing the camera. I also reverted to 10.0 Gangnam Style (Jan 30) to see if that made it work, and all that got me was a neverending cyanogenmod boot screen. Reverting to 10.1 got me booting again, but...
Basically, does anyone know of a way to get the compass/attitude sensors working? Is this likely just an issue in the ROM or can those sensors be separately configured/calibrated?
Anyone have any input or suggestions?
I'd really like to check out photosphere, but the inability to use sky map hurts too as I'm a wannabe stargazer...
omgallthenamesaretaken said:
Would have posted in the related thread but I guess I haven't been chatty enough yet.
I've been running either Gangnam Style or Wild For the Night for about as long as they have been available and generally loving them, much better than previous roms.
However, when I installed the January 30 release of 10.1 WFTN, I noticed my compass isn't working. It seems like the attitude sensor is also iffy.
When I run GPS Status, the compass always stays locked at 000 degrees regardless of what attitude I'm holding the phone in. I have tried the Tools > Calibrate Compass function in GPS status and that doesn't seem to do anything. No heading arrow appears on Maps, either.
The attitude sensor in GPS status does not seem to work either, but if I open up Bubble Level, that seems fine - so I'm not sure if the compass and attitude sensor actually have any trouble, or if it's simply that some apps can't communicate with them properly.
This all comes up because I was trying to use photosphere and it can't figure out what angle I'm holding the phone at so it never takes a picture. I used the photosphere zip from the E4GT Wild For The Night thread, as suggested by Dastin.
I tried various combinations of reflashing the ROM, wiping cache + dalvik and reflashing the rom, reflashing Gapps, and reflashing the camera. I also reverted to 10.0 Gangnam Style (Jan 30) to see if that made it work, and all that got me was a neverending cyanogenmod boot screen. Reverting to 10.1 got me booting again, but...
Basically, does anyone know of a way to get the compass/attitude sensors working? Is this likely just an issue in the ROM or can those sensors be separately configured/calibrated?
Click to expand...
Click to collapse