Coder Social home page Coder Social logo

Comments (2)

jeffyactive avatar jeffyactive commented on July 20, 2024

Hi @trademark18,

You are correct that the barnowl packages, and the raddec objects they use to represent RADio DECodings, measure time to the millisecond using UNIX epoch timestamps.

Answers:

  1. For the Raspberry Pi, we've never explicitly tested the accuracy of the timestamp of receipt of a Bluetooth packet, but would expect it to be on the order of the temporal accuracy of the OS.
  2. Yes, sub-millisecond timing will almost certainly require dedicated hardware with clock synchronisation.
  3. Wouldn't recommend using the Pi's on-board Bluetooth radio for accurate timing, even if coupled with a precise clock.

If you're looking to do time of arrival (TOA) or time difference of arrival (TDOA) calculations for real-time location, note that this can be quite a challenging endeavour (especially with Bluetooth Low Energy). Myself and the team at reelyActive have experience with this, so don't hesitate to reach out via any of our channels: https://www.reelyactive.com/contact/

As a more general note, we could add support for nanosecond-precision timestamps to raddec in future if there's interest to use barnowl for timing-based real-time location. Expectation at this stage is that precision location systems will use their own proprietary software and the open source barnowl & Pareto Anywhere stack might serve in parallel for complementary use cases.

Hope that provides insight and glad to hear that the barnowl packages have been useful to you!

from barnowl-hci.

trademark18 avatar trademark18 commented on July 20, 2024

Thanks for the thorough answer (as usual!). We both know the sometimes-frustrating nature of RSSI when it comes to its uses for location reckoning, so I was wondering if accuracy could be augmented using TDOA techniques. Currently we do location reckoning based solely on the relative difference in RSSI (plus several mathematical and geographic filters). Accuracy is sufficient for our use cases, but I was just curious if we could leverage the TDOA to boost accuracy by some worthwhile percentage.

Sounds like if I (or the reader) want to pursue this further it will involve researching high-resolution (dedicated hardware) clocks, some way to synchronize them across devices, and finally a modification to the raddec package to support fetching and recording the timestamp from the dedicated clock.

Unfortunately I don't have time at present to all that research, but thanks for satisfying my curiosity and helping me understand what's involved.

from barnowl-hci.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.