mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 16:03:31 +00:00
changed marker azimuth to course property, add math to handle true north convertion
This commit is contained in:
@@ -59,7 +59,7 @@ func parseMarkerArgs(args []string) (Marker, error) {
|
|||||||
Latitude: latitude,
|
Latitude: latitude,
|
||||||
Longitude: longitude,
|
Longitude: longitude,
|
||||||
Speed: int(speed / 4),
|
Speed: int(speed / 4),
|
||||||
Azimuth: int(bearing),
|
Course: int(bearing) + 6,
|
||||||
Type: args[5],
|
Type: args[5],
|
||||||
Name: args[6],
|
Name: args[6],
|
||||||
HAE: int(altitude),
|
HAE: int(altitude),
|
||||||
|
|||||||
Reference in New Issue
Block a user