GPS bearing heading

I guess pretty much all is here...

http://jeffsinventions.com/autonomous-car-navigation/

Similar approach. Car seen as base station... and target as moving object.
Compass getting the current heading of car, which in base station also is haeding I am aiming