Turning point of car on the left or right of travel direction.

Click For Summary

Discussion Overview

The discussion revolves around determining the relative position of a point (point #3) in relation to an arc defined by two other points (points #1 and #2) on the Earth's surface. The context includes practical applications in navigation for vehicles such as cars or airplanes, with a focus on the challenges posed by spherical geometry.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant describes a method involving conversion from spherical to Cartesian coordinates, calculating vectors, and using cross-products to determine the left/right position of point #3 relative to the arc formed by points #1 and #2.
  • The same participant notes inconsistencies in their method, particularly in the southern hemisphere and near the poles, and questions whether a different approach, such as a full 3D matrix solution, might be more effective.
  • Another participant seeks clarification on the term "center point" in the context of the arc between points #1 and #2.
  • A later reply clarifies that points #1 and #2 lie on a circle with center point #3, but expresses doubt about the relevance of this information to solving the problem.
  • One participant emphasizes that the problem is rooted in real-world applications involving data translation between two aircraft systems.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the best approach to solve the problem, and multiple competing views and methods are being explored.

Contextual Notes

The discussion highlights potential limitations in the initial mathematical approach, particularly regarding its applicability in different geographical contexts, but does not resolve these issues.

keick
Messages
3
Reaction score
0
I've got an interesting problem that I can solve sometimes, but not always. Say I've got a 3 sets of lat/long positions on the earth, relatively close to each other. The idea is your in a car/airplane driving along and arc between points #1 and #2, with a center point #3. The question to be answered, is is point #3 on my left, or on my right.

My initial solution was to convert from spherical to cartesian, then calculate the vector from #1 to #2 and cross that with the vector from #1 to #3. Then a positive/negative z value would give me left/right.

However this doesn't see to work in the southern hemisphere, nor very well at the poles. Someone thought it would help to dot-product the resulting cross-product with the initial vector to point #1, but that hasn't seemed to produce a consistent result at various problem points on a sphere.

Any ideas, I'm I chasing the wrong concepts, should I be focusing more on a full 3d matrix solution instead of simple vectors?
 
Physics news on Phys.org
You say "an arc between points #1 and #2, with a center point #3." What do you mean by "center point" here?
 
In this particular case, Points #1 and #2 both lay on a circle with center point #3.

I assuming that it really doesn't help in solving the problem though, since my solution should of worked for any point reasonably close (couple miles) to the vector formed between 1 and 2.
 


Please note, this is a real world problem I'm having translating data between two separate aircraft systems.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 30 ·
2
Replies
30
Views
10K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
33
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K