hey guys i need your help
so here is the situation
i have two objects moving (let's suppose that they are cars ) so i'm on one of the cars and i need to know the direction of the other car in front of me is it on the opposite direction or in my direction so my question is , how to know the direction of the car using a gps module ? anyone who knows the code to do that please help me
if there is no way to do it with a gps i am thinking of using a magnetometer to know directions but is it exact and stable or not ?