aero-man / xsens-dot-python

Connect to Xsens DOT wearable sensors with Python
15 stars 6 forks source link

New to using Xsens Dot #3

Open bengaltiger2424 opened 2 years ago

bengaltiger2424 commented 2 years ago

I am having a hard time understanding how all these files come together and connect to the dots. Could you walk me through the process of setting up the python server a bit more? I would appreciate it I am new to this.

aero-man commented 2 years ago

Howdy. The documentation definitely needs improvement. I haven't touched this project in over a year, but I didn't remember the docs being such trash.

To run this, you'll do 4 steps.

  1. Make sure Bluepy and Numpy (Python modules) are installed, by running pip install -r requirements.txt
  2. Find the Xsens Dots by running blescan.py
  3. Manually add the addresses of the Dots that were found to device_addresses.csv
  4. Run server.py, which will connect to the Dots, listen for the data that the Dots are sending out over Bluetooth, then print whatever data is gets to the command line/Terminal.

Step 1 only has to be done once. Steps 2 and 3 only need to be done the first time you connect to the Dots or if you add a new Dot device, since Bluetooth addresses (example: aa:bb:cc:12:34:56) don't change.

I don't have access to any Dots anymore, but will build out some more docs. Let me know if you have questions.

aero-man commented 2 years ago

Added some more details to the README.

bengaltiger2424 commented 2 years ago

Thank you! I appreciate the help.