Skip to content

Instantly share code, notes, and snippets.

View RogerioDoCarmo's full-sized avatar

Rogério do Carmo RogerioDoCarmo

  • Presidente Prudente, SP, Brazil
  • 00:27 (UTC -03:00)
View GitHub Profile
@jeroen-meijer
jeroen-meijer / .gitignore
Created September 12, 2018 04:47
General Flutter .gitignore (including VS Code, IntelliJ & Firebase files).
### https://raw.github.com/github/gitignore/80a8803b004013d17291196825a327b9e871f009/Android.gitignore
# Built application files
*.apk
*.ap_
# Files for the ART/Dalvik VM
*.dex
# Java class files
@govert
govert / GpsUtils.cs
Last active March 25, 2024 08:43
Convert WGS-84 geodetic locations (GPS readings) to Cartesian coordinates in a local tangent plane (Geodetic to ECEF to ENU)
using System;
using System.Diagnostics;
using static System.Math;
// Some helpers for converting GPS readings from the WGS84 geodetic system to a local North-East-Up cartesian axis.
// The implementation here is according to the paper:
// "Conversion of Geodetic coordinates to the Local Tangent Plane" Version 2.01.
// "The basic reference for this paper is J.Farrell & M.Barth 'The Global Positioning System & Inertial Navigation'"
// Also helpful is Wikipedia: http://en.wikipedia.org/wiki/Geodetic_datum