From 5503cee796db26f3208ad0015edd01771ae4b160 Mon Sep 17 00:00:00 2001 From: shengaog Date: Wed, 9 Aug 2017 15:24:43 -0700 Subject: [PATCH 1/3] Upgrade Gnsslogger to Version 2.0 --- GNSSLogger/GNSSLogger.iml | 2 +- GNSSLogger/app/app.iml | 84 +- GNSSLogger/app/build.gradle | 28 +- GNSSLogger/app/libs/achartengine-1.2.0.jar | Bin 0 -> 126046 bytes GNSSLogger/app/src/main/AndroidManifest.xml | 23 +- GNSSLogger/app/src/main/ic_launcher-web.png | Bin 0 -> 19732 bytes .../gps/gnsslogger/AgnssFragment.java | 174 +++ .../gps/gnsslogger/AgnssUiLogger.java | 111 ++ .../DetectedActivitiesIntentReceiver.java | 48 + .../location/gps/gnsslogger/FileLogger.java | 701 +++++++------ .../gps/gnsslogger/GnssContainer.java | 525 +++++----- .../location/gps/gnsslogger/GnssListener.java | 56 +- .../gnsslogger/GroundTruthModeSwitcher.java | 27 + .../location/gps/gnsslogger/HelpDialog.java | 97 +- .../gps/gnsslogger/LoggerFragment.java | 372 +++++-- .../location/gps/gnsslogger/MainActivity.java | 428 ++++++-- .../location/gps/gnsslogger/MapFragment.java | 190 ++++ .../location/gps/gnsslogger/PlotFragment.java | 464 ++++++++ .../RealTimePositionVelocityCalculator.java | 544 ++++++++++ .../gps/gnsslogger/ResultFragment.java | 143 +++ .../gps/gnsslogger/SettingsFragment.java | 476 ++++++--- .../gps/gnsslogger/TimerFragment.java | 99 ++ .../location/gps/gnsslogger/TimerService.java | 119 +++ .../location/gps/gnsslogger/TimerValues.java | 153 +++ .../location/gps/gnsslogger/UiLogger.java | 451 +++++--- .../main/res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 1808 bytes .../app/src/main/res/layout/activity_main.xml | 0 .../src/main/res/layout/fragment_agnss.xml | 85 ++ .../app/src/main/res/layout/fragment_log.xml | 27 +- .../app/src/main/res/layout/fragment_main.xml | 323 +++--- .../app/src/main/res/layout/fragment_plot.xml | 38 + GNSSLogger/app/src/main/res/layout/help.xml | 4 +- .../app/src/main/res/layout/map_fragment.xml | 12 + .../app/src/main/res/layout/pop_up_window.xml | 65 ++ .../app/src/main/res/layout/results_log.xml | 46 + GNSSLogger/app/src/main/res/layout/timer.xml | 69 ++ .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3418 -> 2576 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2162 -> 1763 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 4842 -> 3603 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 7718 -> 5893 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 10486 -> 8755 bytes GNSSLogger/app/src/main/res/values/dimens.xml | 0 .../app/src/main/res/values/strings.xml | 75 +- GNSSLogger/app/src/main/res/values/styles.xml | 0 GNSSLogger/build.gradle | 3 +- GNSSLogger/gradle.properties | 8 +- GNSSLogger/local.properties | 6 +- GNSSLogger/pseudorange/.gitignore | 1 + GNSSLogger/pseudorange/build.gradle | 53 + GNSSLogger/pseudorange/libs/asn1-base.jar | Bin 0 -> 70220 bytes GNSSLogger/pseudorange/libs/asn1-supl2.jar | Bin 0 -> 4515432 bytes .../pseudorange/libs/commons-codec-1.10.jar | Bin 0 -> 284184 bytes .../pseudorange/libs/commons-math3-3.6.1.jar | Bin 0 -> 2213560 bytes .../pseudorange/libs/guava-22.0-android.jar | Bin 0 -> 2476125 bytes GNSSLogger/pseudorange/libs/protobuf-nano.jar | Bin 0 -> 47859 bytes GNSSLogger/pseudorange/libs/suplClient.jar | Bin 0 -> 34502 bytes .../pseudorange/src/main/AndroidManifest.xml | 4 + .../gps/pseudorange/Ecef2EnuConverter.java | 119 +++ .../gps/pseudorange/Ecef2LlaConverter.java | 177 ++++ .../EcefToTopocentricConverter.java | 107 ++ .../gps/pseudorange/ElevationApiHelper.java | 100 ++ .../gps/pseudorange/GpsMathOperations.java | 156 +++ .../gnss/gps/pseudorange/GpsMeasurement.java | 68 ++ ...GpsMeasurementWithRangeAndUncertainty.java | 40 + .../GpsNavigationMessageStore.java | 761 ++++++++++++++ .../lbs/gnss/gps/pseudorange/GpsTime.java | 315 ++++++ .../gps/pseudorange/IonosphericModel.java | 139 +++ .../gps/pseudorange/Lla2EcefConverter.java | 57 + .../PseudorangeNoSmoothingSmoother.java | 36 + ...ngePositionVelocityFromRealTimeEvents.java | 500 +++++++++ .../gps/pseudorange/PseudorangeSmoother.java | 38 + .../ResidualCorrectionCalculator.java | 202 ++++ .../SatelliteClockCorrectionCalculator.java | 193 ++++ .../SatellitePositionCalculator.java | 323 ++++++ .../pseudorange/TroposphericModelEgnos.java | 330 ++++++ ...erPositionVelocityWeightedLeastSquare.java | 989 ++++++++++++++++++ GNSSLogger/settings.gradle | 2 +- opensource/README.md | 10 +- 78 files changed, 9417 insertions(+), 1379 deletions(-) create mode 100644 GNSSLogger/app/libs/achartengine-1.2.0.jar mode change 100644 => 100755 GNSSLogger/app/src/main/AndroidManifest.xml create mode 100644 GNSSLogger/app/src/main/ic_launcher-web.png create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/AgnssFragment.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/AgnssUiLogger.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/DetectedActivitiesIntentReceiver.java mode change 100644 => 100755 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/GnssContainer.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/GroundTruthModeSwitcher.java mode change 100644 => 100755 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/LoggerFragment.java mode change 100644 => 100755 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/MainActivity.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/MapFragment.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/PlotFragment.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/RealTimePositionVelocityCalculator.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/ResultFragment.java mode change 100644 => 100755 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/SettingsFragment.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/TimerFragment.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/TimerService.java create mode 100644 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/TimerValues.java mode change 100644 => 100755 GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/UiLogger.java create mode 100644 GNSSLogger/app/src/main/res/drawable-xhdpi/ic_launcher.png mode change 100644 => 100755 GNSSLogger/app/src/main/res/layout/activity_main.xml create mode 100755 GNSSLogger/app/src/main/res/layout/fragment_agnss.xml mode change 100644 => 100755 GNSSLogger/app/src/main/res/layout/fragment_log.xml mode change 100644 => 100755 GNSSLogger/app/src/main/res/layout/fragment_main.xml create mode 100644 GNSSLogger/app/src/main/res/layout/fragment_plot.xml create mode 100644 GNSSLogger/app/src/main/res/layout/map_fragment.xml create mode 100644 GNSSLogger/app/src/main/res/layout/pop_up_window.xml create mode 100644 GNSSLogger/app/src/main/res/layout/results_log.xml create mode 100644 GNSSLogger/app/src/main/res/layout/timer.xml mode change 100644 => 100755 GNSSLogger/app/src/main/res/values/dimens.xml mode change 100644 => 100755 GNSSLogger/app/src/main/res/values/strings.xml mode change 100644 => 100755 GNSSLogger/app/src/main/res/values/styles.xml create mode 100644 GNSSLogger/pseudorange/.gitignore create mode 100644 GNSSLogger/pseudorange/build.gradle create mode 100644 GNSSLogger/pseudorange/libs/asn1-base.jar create mode 100644 GNSSLogger/pseudorange/libs/asn1-supl2.jar create mode 100644 GNSSLogger/pseudorange/libs/commons-codec-1.10.jar create mode 100644 GNSSLogger/pseudorange/libs/commons-math3-3.6.1.jar create mode 100644 GNSSLogger/pseudorange/libs/guava-22.0-android.jar create mode 100644 GNSSLogger/pseudorange/libs/protobuf-nano.jar create mode 100644 GNSSLogger/pseudorange/libs/suplClient.jar create mode 100644 GNSSLogger/pseudorange/src/main/AndroidManifest.xml create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/Ecef2EnuConverter.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/Ecef2LlaConverter.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/EcefToTopocentricConverter.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/ElevationApiHelper.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/GpsMathOperations.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/GpsMeasurement.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/GpsMeasurementWithRangeAndUncertainty.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/GpsNavigationMessageStore.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/GpsTime.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/IonosphericModel.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/Lla2EcefConverter.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/PseudorangeNoSmoothingSmoother.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/PseudorangePositionVelocityFromRealTimeEvents.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/PseudorangeSmoother.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/ResidualCorrectionCalculator.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/SatelliteClockCorrectionCalculator.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/SatellitePositionCalculator.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/TroposphericModelEgnos.java create mode 100644 GNSSLogger/pseudorange/src/main/java/com/google/location/lbs/gnss/gps/pseudorange/UserPositionVelocityWeightedLeastSquare.java diff --git a/GNSSLogger/GNSSLogger.iml b/GNSSLogger/GNSSLogger.iml index 0cd6d47..30e4be3 100644 --- a/GNSSLogger/GNSSLogger.iml +++ b/GNSSLogger/GNSSLogger.iml @@ -13,7 +13,7 @@ - + \ No newline at end of file diff --git a/GNSSLogger/app/app.iml b/GNSSLogger/app/app.iml index af54888..7bbb7e2 100644 --- a/GNSSLogger/app/app.iml +++ b/GNSSLogger/app/app.iml @@ -9,7 +9,6 @@