# Converting local vehicle position coordinates to global vehicle position coordinates [closed]

I'm tracking the position of a vehicle along a certain trajectory using the Kalman filter and the idea is to check for improvements in position estimation through fusion of data from multiple sensors (We consider data from 2 inputs: GPS and Odometry)

GPS data is recorded through an app on the iPhone and gives information about the Latitude, Longitude, Elevation and Timestamp Information. This GPS data is in 3D spherical coordinates and is converted to 2D Cartesian using UTM (UTM is a projected Cartesian system). Thus, we have the position of the vehicle through GPS in world coordinates (in m).

Odometry data is recorded through measurement sensors on vehicle and gives the x-position of the vehicle, y-position of the vehicle and orientation of the vehicle. This is calculated based on the wheelticks and is relative to the inertial origin of coordinates. Thus, we have the position of the vehicle through Odometry in vehicle coordinates (in mm). The GPS data updates once every 1000ms and Odometry data is given once every 20ms. We know that, the sensor components on the vehicle refer to the vehicle coordinate System where origin is located between driver and co-passenger where, x is along direction of vehicle, y is to the direction of co-passenger and z to the roof of the vehicle.

(Eg: If I check the data for some point, I see GPS data for the position (x,y) to be (661272.59, 1.517914e+06) and Odometry data for some point to be (414,6) and, both measurements are given to the Kalman)

How do we relate the position data from vehicle coordinates system (Odometry) with the data from world coordinates (GPS)?

## closed as too broad by PolyGeo♦Sep 12 at 2:06

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Please ask only one question per Question. – Vince Sep 12 at 1:13
• Have updated the question correspondingly – surajr Sep 12 at 8:53