18911006322 / apps-for-android

Automatically exported from code.google.com/p/apps-for-android
Apache License 2.0
0 stars 0 forks source link

RADAR target bearing is wrong depending on orientation #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start radar with a target at a distance from your location.
2. Turn around 360 degrees, stopping at each 90 degree interval.
3. Notice the inaccurate bearing at some of the intervals.

Occasionally this bug will also cause the target (blip) to race away in the
opposite direction as you approach it. On the other hand, the distance
indicator at the bottom will decrease properly showing the correct values
as you approach. Suggesting that the issue is with the bearing calculation
only.

Using RADAR 1.0. Problem verified by at least three other users.

(RADAR is really cool by the way.)

Original issue reported on code.google.com by browne.a...@gmail.com on 3 Nov 2008 at 4:57

GoogleCodeExporter commented 8 years ago
I've been doing some debugging of RADAR and have found that my device is giving 
bad
orientation values. The bearing code in RADAR is solid. Someone can close this 
issue.

Original comment by browne.a...@gmail.com on 4 Nov 2008 at 9:28

GoogleCodeExporter commented 8 years ago
Resolving.  Note that IIRC Radar is using the compass, which on the G1 does 
indeed
need to be calibrated periodically.  (Error can accumulate in the part in use.) 
Calibration involves waving the device around in a 3D figure-8 pattern;  do 
this for
around 30 seconds, and the compass accuracy should improve.

Original comment by morri...@gmail.com on 13 Nov 2008 at 10:02

GoogleCodeExporter commented 8 years ago
hi! for me and anyone else outhere.... how do i run the radar program on my g1? 
i see it in the installed 
applications..... would love functionality that would combine radar with google 
maps so that i could switch 
to radar view and would direct me toward waypoint....

ideas?

Original comment by undefine...@gmail.com on 20 Nov 2008 at 5:08

GoogleCodeExporter commented 8 years ago
I used radar in my application and after calibrating it. The distance and the 
bearing 
seem incorrect. I am passing the lat and long of the point I am trying to reach 
and 
the distance on the radar would not change as well.

my code:

 Intent i = new Intent("com.google.android.radar.SHOW_RADAR");
            i.putExtra("latitude", locode.getLatitudeE6()/1E6);
            i.putExtra("longitude", locode.getLongitudeE6()/1E6);
            startActivity(i);

Original comment by georgear...@gmail.com on 8 Jun 2009 at 7:25