lat lon random .0005

sr-frs-aprs-payload-minute
alanbjohnston 3 years ago committed by GitHub
parent 58b32d23fb
commit 5eaedc748f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -764,8 +764,8 @@ int main(int argc, char * argv[]) {
; //payload = OFF; // turn off since STEM Payload is not responding
}
if ((millis() - newGpsTime) > 60000) {
longitude += rnd_float(-0.05, 0.05);
latitude += rnd_float(-0.05, 0.05);
longitude += rnd_float(-0.0005, 0.0005); // was .05
latitude += rnd_float(-0.0005, 0.0005);
printf("GPS Location with Rnd: %f, %f \n", latitude, longitude);
newGpsTime = millis();
}

Loading…
Cancel
Save

Powered by TurnKey Linux.