trying to handle the difference between showed speed on ATAK and the in game speed, divided by 4 the outputted speed

This commit is contained in:
Valmo Trindade
2024-08-21 18:56:40 -03:00
parent 47344bdc12
commit c42393013e

View File

@@ -58,7 +58,7 @@ func parseMarkerArgs(args []string) (Marker, error) {
UID: args[0], UID: args[0],
Latitude: latitude, Latitude: latitude,
Longitude: longitude, Longitude: longitude,
Speed: int(speed), Speed: int(speed / 4),
Azimuth: int(bearing), Azimuth: int(bearing),
Type: args[5], Type: args[5],
Name: args[6], Name: args[6],