geonav_transform package¶
Submodules¶
geonav_transform.geonav_conversions module¶
Python version of the inline functions defined in the robot_localization, navsat_conversions.h
-
geonav_transform.geonav_conversions.
ll2xy
(lat, lon, origin_lat, origin_lon)[source]¶ Geonav: Lat/Long to X/Y Convert latitude and longitude in dec. degress to x and y in meters relative to the given origin location. Converts lat/lon and orgin to UTM and then takes the difference
- Args:
- lat (float): Latitude of location lon (float): Longitude of location orglat (float): Latitude of origin location orglon (float): Longitude of origin location
- Returns:
- tuple: (x,y) where...
- x is Easting in m (local grid) y is Northing in m (local grid)