Skip to content
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

Added python Script to calculate distance from RSSI #1151

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

gptshubham595
Copy link

No description provided.

@gptshubham595
Copy link
Author

Added a python script to get the coefficients value, and a sample model.json value

@gptshubham595 gptshubham595 changed the title Improved model-distance-calculations.json Added pythoinScript to calculate distance from RSSi and Improved model-distance-calculations.json Jul 7, 2023
@davidgyoung
Copy link
Member

Thanks for this update, @gptshubham595 . That python script will be useful. Do you think you can:

  1. Move the python script to a new folder: lib/scripts so it is outside the Android source tree
  2. Write up instructions in a README.md in that same folder, using the info in this page as a starting point: https://altbeacon.github.io/android-beacon-library/distance-calculations2.html

Having instructions will make it easier for other folks to set up the dependencies for the python script, then use it to get new coefficients to be added to the library's config file. Thank you!

@gptshubham595 gptshubham595 changed the title Added pythoinScript to calculate distance from RSSi and Improved model-distance-calculations.json Added python Script to calculate distance from RSSI and Improved model-distance-calculations.json Jul 7, 2023
@gptshubham595
Copy link
Author

gptshubham595 commented Jul 11, 2023

Hi,
I've added all the changes! #1115 @davidgyoung,
Do suggest if more changes required! 😀

@gptshubham595
Copy link
Author

Reverted back model.json file only added scripts 😊

@gptshubham595 gptshubham595 changed the title Added python Script to calculate distance from RSSI and Improved model-distance-calculations.json Added python Script to calculate distance from RSSI Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants