.02 / 100 instead

sr-frs-aprs-payload-minute
alanbjohnston 3 years ago committed by GitHub
parent dab337bd5c
commit f6c3267449
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) / 1000.0; // was .05
latitude += rnd_float(-0.05, 0.05) / 1000.0;
longitude += rnd_float(-0.02, 0.02) / 100.0; // was .05
latitude += rnd_float(-0.02, 0.02) / 100.0;
printf("GPS Location with Rnd: %f, %f \n", latitude, longitude);
printf("GPS Location with Rnd: APRS %7.2f, %08.2f \n", toAprsFormat(latitude), toAprsFormat(longitude));
newGpsTime = millis();

Loading…
Cancel
Save

Powered by TurnKey Linux.