-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0074 provide accuracy #131
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #131 +/- ##
============================================
+ Coverage 39.43% 39.57% +0.13%
- Complexity 235 236 +1
============================================
Files 40 40
Lines 1344 1362 +18
Branches 131 134 +3
============================================
+ Hits 530 539 +9
- Misses 762 771 +9
Partials 52 52
Continue to review full report at Codecov.
|
Hello, Can you explain more what you have done here, please? |
I've added an Currently that value is based on the RMS of the multilateration, that may change though. |
Thank you for your fast reply. What are your plans about RMS? you will use another way? |
It could also be based on the distance and amount of beacons that have been used for the multilateration. Probably related to #126. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should refactor the singleton classes and change their static method with side effects to be non-static.
@@ -36,13 +36,18 @@ | |||
|
|||
private static final WindowFilter meanFilter = new MeanFilter(15, TimeUnit.SECONDS); | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicate empty line.
float advertisingRadius = (float) canvasProjection.getCanvasUnitsFromMeters(accuracy); | ||
Paint historyFillPaint = new Paint(secondaryFillPaint); | ||
PointF deviceCenter; | ||
float heatmapRadius = (float) canvasProjection.getCanvasUnitsFromMeters(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the old implementation we wanted to use the accuracy
instead of 1
. Why did that change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the heatmap looked strange with that (I tried it). We use the circle around the device to visualize the accuracy.
Agree. These are breaking changes though. We should start with deprecating these methods. |
Closes #74