Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RADAR target bearing is wrong depending on orientation #30

Closed
GoogleCodeExporter opened this issue May 17, 2015 · 4 comments
Closed

RADAR target bearing is wrong depending on orientation #30

GoogleCodeExporter opened this issue May 17, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant