glmhit / geodetic_utils

Simple library for converting coordinates to/from several geodetic frames (lat/lon, ECEF, ENU, NED, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geodetic_utils

Description

Simple library for converting coordinates to/from several geodetic frames and managing incoming GPS information.

Libraries

geodetic_conv

  • Stores a frame as a reference

  • Converts between various co-ordinate systems: WGS84, ECEF, ENU, NED (see 'Notes' below)

Quick Start

install & Build

The following steps build and install geodetic_utils, which is needed to support the

catkin_simple package.

cd mysrc
git clone git@github.com:catkin/catkin_simple.git 
git clone git@github.com:glmhit/geodetic_utils.git
catkin build
source ./devel/setup.zsh
roslaunch geodetic_utils set_gps_refer.launch
rosbag play my_data.bag
roslaunch geodetic_utils gps_to_pose.launch

1547175394444

Nodes

set_gps_reference_node

Creates a reference frame based on initial GPS measurements

Arguments

  • number of initial GPS measurements to wait for and average over

Subscribed Topics:

gps_to_pose_conversion_node

Publishes position information based on GPS measurements and initialised reference frame

Parameters

  • sim - true if GPS readings received from /gazebo using Hectors plugin, false if received from actual device
  • frame_id - string in header field of output messages ("world" is the default one if it's not specified)

Subscribed Topics:

Published Topics:

Dependencies:

  • ros
  • geometry_msgs
  • sensor_msgs

Notes:

Co-ordinate systems supported:

  • WGS84 - Global Positioning System - [latitude, longtitude, height]
  • ECEF - Earth-Centred, Earth-Fixed - [x,y,z] in Earth frame
  • ENU - East, North, Up - [x,y,z] in local frame
  • NED - North, East, Down - [x,y,z] in local frame

Credits:

Enric Galceran, Marija Popović - ETHZ ASL - 15 October 2015

About

Simple library for converting coordinates to/from several geodetic frames (lat/lon, ECEF, ENU, NED, etc.)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 93.2%Language:Python 3.8%Language:CMake 3.0%