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