Notices
Results 1 to 6 of 6

Thread: Determine the angle of Azimuth?

  1. #1 Determine the angle of Azimuth? 
    Forum Freshman
    Join Date
    May 2011
    Location
    London, Earth.
    Posts
    65
    Hi all,

    New to the forum so please, if my question is in the wrong location, let me know and I will put it in the correct one.

    Ok, here's the question:

    I am building a robot and I need some help on the navigation. I have 2 points [A] and [B].

    Say my robot is at point [A] and has xxx coordinates. This robot is facing North(but in reality it could be facing any direction). The robot needs to turn X degrees and face in the direction of point [B] with a different set of coordinates(obviously). How do I calculate how many degrees I need to rotate the robot until it faces the direction of point [B]?

    I *think* what I am looking for here is called the angle of Azimuth, but I'm not 100% sure. I have made a simple picture to illustrate my problem.



    Thanks for reading and hope someone can help me out.

    Rich.


    Reply With Quote  
     

  2.  
     

  3. #2  
    Forum Freshman
    Join Date
    May 2011
    Location
    London, Earth.
    Posts
    65
    Can nobody answer this?


    Reply With Quote  
     

  4. #3 Re: Determine the angle of Azimuth? 
    Forum Freshman
    Join Date
    Aug 2010
    Posts
    97
    Reply With Quote  
     

  5. #4 Re: Determine the angle of Azimuth? 
    Forum Freshman
    Join Date
    May 2011
    Location
    London, Earth.
    Posts
    65
    Quote Originally Posted by m84uily
    Thanks, but all I have is GPS(Decimal (WGS84) Co-ordinates of location [A] and location [b].

    If I enter tan([A] / [B]) will that give me how many degrees I need to turn the robot? Remember [A] and [B] are GPS co-ordinates(Decimal (WGS84)).

    This is why I asked about the angle of Azimuth. I need to work out how many degrees to turn having ONLY GPS(Decimal (WGS84) co-ordinates of location [A] and location [B].

    Here is an example of the co-ordinates:

    [A] = 51.500782, -0.124669 ----This is Big Ben's Location.
    [B] = 51.178891, -1.826225 ----This is Stonehenge's Location.

    Calculate the Azimuth between [A] and [B].
    Reply With Quote  
     

  6. #5 Re: Determine the angle of Azimuth? 
    Forum Freshman
    Join Date
    Aug 2010
    Posts
    97
    Thanks, but all I have is GPS(Decimal (WGS84) Co-ordinates of location [A] and location [b].

    If I enter tan([A] / [B]) will that give me how many degrees I need to turn the robot? Remember [A] and [B] are GPS co-ordinates(Decimal (WGS84)).

    This is why I asked about the angle of Azimuth. I need to work out how many degrees to turn having ONLY GPS(Decimal (WGS84) co-ordinates of location [A] and location [B].
    Could you maybe use http://en.wikipedia.org/wiki/Haversine_formula
    Reply With Quote  
     

  7. #6 Re: Determine the angle of Azimuth? 
    Forum Freshman
    Join Date
    May 2011
    Location
    London, Earth.
    Posts
    65
    Quote Originally Posted by m84uily
    Thanks, but all I have is GPS(Decimal (WGS84) Co-ordinates of location [A] and location [b].

    If I enter tan([A] / [B]) will that give me how many degrees I need to turn the robot? Remember [A] and [B] are GPS co-ordinates(Decimal (WGS84)).

    This is why I asked about the angle of Azimuth. I need to work out how many degrees to turn having ONLY GPS(Decimal (WGS84) co-ordinates of location [A] and location [B].
    Could you maybe use http://en.wikipedia.org/wiki/Haversine_formula
    Thanks... But I don't need the distance between [A] and [B].
    Reply With Quote  
     

Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •