Questions tagged [compass-geolocation]

Geolocation is the identification of the real-world geographic location of an object, such as a cell phone or an Internet-connected computer terminal. Geolocation may refer to the practice of assessing the location, or to the actual assessed location.

333 questions
2
votes
1 answer

Android magnetometer returning random values

I am building an Android application which logs the degrees of the compass of the device into a file. There are two methods the get this degrees: Method 1: SensorManager mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); Sensor…
duncanportelli
  • 3,161
  • 8
  • 38
  • 59
2
votes
1 answer

Problems with Azimuth calculation when iOS device is in Landscape Right

I have written an Augmented reality app for iOS which uses location services and GPS, everything works fine when the device is in landscape left but when the devices rotation is landscape right the center azimuth does not get calculated correctly, I…
Sixjac
  • 339
  • 4
  • 16
2
votes
0 answers

Adding a compass to camera

I need to do the following: The application makes photos and share them on facebook and twitter, the application must have a ruler with compass... like in this…
user1929598
  • 43
  • 1
  • 4
2
votes
1 answer

Ruby using too much memory when using codekit for compass

I am facing a problem when using Compass with codekit. Ruby starts eating almost all memory of the OS. In the screenshot below you can see that Ruby is using 2.26bg memory. This problem happens when I'm using Sublime with Codekit to compile Compass.…
2
votes
1 answer

compass shows me the north normally. but I want from it for showing another way (?)

I am making an app with c# for my windows phone 7. I want to use compass for showing me the qibla direction (or which way I want). how can I make it? I can calculate the degrees of qibla direction from my location with lang and latitute.(for example…
nazim corakli
  • 197
  • 1
  • 3
  • 8
2
votes
2 answers

Compass interferences when GPS is working on Android

I'm making an application for Android which uses a MapView thats rotates according to the compass data. The problem is that when GPS sensor is working (to locate my position and translate it into the MapView), compass data gets so much…
Pablo
  • 1,041
  • 8
  • 23
2
votes
1 answer

ios: add compass to ARView

I wanna add a compass to ARView in the following project: http://developer.apple.com/library/ios/#samplecode/pARk/Listings/pARk_ARView_m.html#//apple_ref/doc/uid/DTS40011083-pARk_ARView_m-DontLinkElementID_5 I used - (void)…
2
votes
0 answers

Android compass: different Azimuth values depending on Pitch

I'm developing an app and I need to use camera and compass simultaneously. The problem is that the value of Azimuth changes depending on the one of Pitch (in other words if I'm holding the phone or I put it on the table), and It seems like there's…
2
votes
2 answers

What should I do if compass lies

What should I do if the compass on two or more different devices give me different headings? I tried to calibrate the compass on devices but anyway sometimes they show me differents headings.
Max Sokolov
  • 145
  • 1
  • 11
2
votes
2 answers

get x, y, z values from Phonegap compass

i am developing an augmented reality application with my team. we decided to choose phonegap as framework for developing it as a webapp. We use the Three.js framework to draw the augmented reality into the canvas. My problem is to get the camera…
chsymann
  • 1,640
  • 1
  • 15
  • 15
1
vote
1 answer

How to add Compass in option menu for Google map in Android

I have work for Google map . i want to add Compass in Google map , but in Option menu . that means when i press the "menu" button then there will be option for Compass Mood On/Off. How i can do that ? Is there any tutorial or suggestion for this ?…
1
vote
1 answer

How to draw rotating arrow as marker in MyLocationOverlay?

How do I draw a rotating arrow depending on the true north and location of the user? I will be using it as a marker on a map. It will work just like those in navigation applications. I'm currently thinking of overriding the onSensorChanged and…
Arci
  • 6,647
  • 20
  • 70
  • 98
1
vote
1 answer

Rotating an image in android using GPS Values pointing to a specific location

I'm trying to use something like a compass, passing it longitude/latitude values to let it point to a specific location, my code can draw an arrow while moving the phone (using GPS) to determine the location. I want to use an image instead of the…
Reham
  • 1,916
  • 6
  • 21
  • 45
1
vote
0 answers

Location manager not updating heading

Has anyone experienced this problem? When we start heading updates on a Location Manager instance, we never receive a single heading update from it. Further, the heading field of the location manager is always nil. What's even crazier is this: every…
1
vote
2 answers

Colored MATLAB Compass Graph

I'm quite new to MATLAB and therefore any help is very appreciated. I want to visualize multiple vectors using MATLAB's compass graph. Is it possible to colorize the different vectors? Those vectors change over time and the order in which they're…
Eric
  • 1,594
  • 1
  • 15
  • 29