rosjava / android_apps

Applications built on top of the rosjava android libraries.
133 stars 112 forks source link

What is purpose of using NtpTimeProvider? #43

Open dwlee opened 9 years ago

dwlee commented 9 years ago

I updated android apps because of upgrading android core into indigo. I found some strange code(following part). It led periodic socket error, however, its error did not make a trouble, so I commented this part because it annoyed me. I was wondering purpose of following part.

//      NtpTimeProvider ntpTimeProvider = new NtpTimeProvider(
//              InetAddressFactory.newFromHostString("192.168.0.1"),
//              nodeMainExecutor.getScheduledExecutorService());
//      ntpTimeProvider.startPeriodicUpdates(1, TimeUnit.MINUTES);
//      nodeConfiguration.setTimeProvider(ntpTimeProvider);
basillee commented 4 years ago

me too

l376571926 commented 2 years ago

Have you ever tried whether robot time and computer time will affect navigation