Marc Poulhiès
2b10f44fc5
add descr field
4 years ago
Marc Poulhiès
8a4e95221b
conf.py is used for configuring the sensor
4 years ago
Marc Poulhiès
63ba5531a7
can select frame to request to sensor, json dump
4 years ago
Marc Poulhiès
74d0552d0b
Custom encoder for json dump
4 years ago
Marc Poulhiès
1df63b0801
Support for saving configuration and calibration mode
4 years ago
Marc Poulhiès
45a02752a1
Split jy901 packages, start fixing JSON
jy901 is now split in 3 subpackages.
JSON is still WIP
4 years ago
Marc Poulhiès
30e3b8a534
various changes in UI and backend
Rework Qt UI with a 3D view + button + 4 scrolling plot.
Start a dumping mechanism. Initially using json, but fallback on
pickle as a first version.
4 years ago
Marc Poulhiès
befcaed0c0
Use dumb device, add fancy scroll plot
--dumb-device will use random data instead of sensor.
Use scrolling plot for acceleration. Need to fix scaling.
4 years ago
Marc Poulhiès
54953f85cc
Add dumb device for easier debug
Dumb device emits randomish data. Do not expect data to be near
realistic.
4 years ago
Marc Poulhiès
b84bc23aa8
use threads and pyqtgraph in test app
Now also support pyqtgraph for viewing sensor values.
Use thread for reading sensor so that we avoid losing values when we
will need to store all data.
4 years ago
Marc Poulhiès
8aa947af94
Support for pyqtgraph and fix angle values
Angles were incorrectly converted from sensor. Now they are correctly
converted to degrees.
Support for pyqtgraph and use its transformation class to express gyro rotations.
4 years ago
Marc Poulhiès
d0cf984f51
add basic docstrings
4 years ago
Marc Poulhiès
05e45d720e
support for gyro + live 3D display
Initial support for gyroscope readings. Live 3D view is still in early
dev, we may need to filter sensor value.
There is still an obvious problem with the rotation matrix as
acceleration at rest is not always along Z (after projection) axis.
4 years ago
Marc Poulhiès
97cee29749
optional live graph in test app
Use matplotlib for optional live graph when using --draw.
Also add --draw-interval and --draw-window to tune how live graph behaves.
4 years ago
Marc Poulhiès
3ca0096ffa
new method for changing sensor config
add methods for setting baudrate, return_rate and return content (none
tested).
Minor change in string repr
4 years ago
Marc Poulhiès
991917099f
move most code to module
4 years ago
Marc Poulhiès
15c1d900b7
first draft
4 years ago