vtomanov / gps64 Goto Github PK
View Code? Open in Web Editor NEWGPS Calculations for Arduino ( distance, bearing and destination point. )
GPS Calculations for Arduino ( distance, bearing and destination point. )
Firstly i want to say thank you for this library, it's been incredibly useful.
for a project i'm working on i needed to take a GPS fix and apply a bearing and distance offset to generate a new NMEA sentence at that offset, however i noticed a difference between your fast and accurate implementations for this (desto and dest) in that once the bearing goes beyond 180 degrees the output is offset in the wrong direction (instead of going west it is offset east) but with the correct north-south offset.
If i get to the bottom of it i'll add further details here.
Arduino: 1.8.12 (Windows 10), Πλακέτα:"Arduino Uno"
In file included from C:\Users\steev\OneDrive\�������\Arduino\libraries\Gps64-master/Gps64.h:20:0,
from C:\Users\steev\AppData\Local\Temp\arduino_modified_sketch_860501\Gps64Example.ino:18:
C:\Users\steev\OneDrive\�������\Arduino\libraries\Float64-master/Float64.h: In function 'void dest64o(f64&, f64&, f64&, f64&, f64&, f64&)':
C:\Users\steev\OneDrive\�������\Arduino\libraries\Float64-master/Float64.h:117:8: note: candidate 1: bool f64::operator>(int) const
bool operator> (const int rhs) const { return *this > f64 (rhs); }
^~~~~~~~
In file included from C:\Users\steev\AppData\Local\Temp\arduino_modified_sketch_860501\Gps64Example.ino:18:0:
C:\Users\steev\OneDrive\�������\Arduino\libraries\Gps64-master/Gps64.h:864:58: note: candidate 2: operator>(int64_t {aka long long int}, double)
if ((offset == 0) || (abs64o(offset_lat - _latStart) > 0.00174533)) { // if no ofset calc'd or more than 0.1 degree away from last calc'd offset start
^~~~~~~~~~
In file included from C:\Users\steev\OneDrive\�������\Arduino\libraries\Gps64-master/Gps64.h:20:0,
from C:\Users\steev\AppData\Local\Temp\arduino_modified_sketch_860501\Gps64Example.ino:18:
C:\Users\steev\OneDrive\�������\Arduino\libraries\Float64-master/Float64.h:117:8: note: candidate 1: bool f64::operator>(int) const
bool operator> (const int rhs) const { return *this > f64 (rhs); }
^~~~~~~~
In file included from C:\Users\steev\AppData\Local\Temp\arduino_modified_sketch_860501\Gps64Example.ino:18:0:
C:\Users\steev\OneDrive\�������\Arduino\libraries\Gps64-master/Gps64.h:864:58: note: candidate 2: operator>(long int, double)
if ((offset == 0) || (abs64o(offset_lat - _latStart) > 0.00174533)) { // if no ofset calc'd or more than 0.1 degree away from last calc'd offset start
^~~~~~~~~~
In file included from C:\Users\steev\OneDrive\�������\Arduino\libraries\Gps64-master/Gps64.h:20:0,
from C:\Users\steev\AppData\Local\Temp\arduino_modified_sketch_860501\Gps64Example.ino:18:
C:\Users\steev\OneDrive\�������\Arduino\libraries\Float64-master/Float64.h:117:8: note: candidate 1: bool f64::operator>(int) const
bool operator> (const int rhs) const { return *this > f64 (rhs); }
^~~~~~~~
In file included from C:\Users\steev\AppData\Local\Temp\arduino_modified_sketch_860501\Gps64Example.ino:18:0:
C:\Users\steev\OneDrive\�������\Arduino\libraries\Gps64-master/Gps64.h:864:58: note: candidate 2: operator>(int, double)
if ((offset == 0) || (abs64o(offset_lat - _latStart) > 0.00174533)) { // if no ofset calc'd or more than 0.1 degree away from last calc'd offset start
^~~~~~~~~~
text section exceeds available space in board
Το σχέδιο χρησιμοποιεί 36940 bytes (114%) του χώρου αποθήκευσης του προγράμματος. Το μέγιστο είναι 32256 bytes.
Οι καθολικές μεταβλητές χρησιμοποιούν 641 bytes (31%) δυναμικής μνήμης, αφήνοντας 1407 bytes για τοπικές μεταβλητές. Το μέγιστο είναι 2048 bytes.
Πολύ μεγάλο σχέδιο, δες συμβουλές στο http://www.arduino.cc/en/Guide/Troubleshooting#size για την μείωση του.
Σφάλμα μεταγλώττισης για την πλακέτα Arduino Uno.
Αυτή η αναφορά θα παρείχε περισσότερες πληροφορίες με
"Εμφάνιση πλεονάζουσα έξοδος κατά τη σύνταξη"
Επιλογή από το Αρχείο -> Προτιμήσεις.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.