Hello, I look for a software to use a distoX on linux, I found for windows, android, but nothing on linux. Do you know if a linux soft exist ? Thanks C.S.
On 2016-09-22 20:52 +0200, cawa.sorix@gmail.com wrote:
Hello,
I look for a software to use a distoX on linux, I found for windows, android, but nothing on linux. Do you know if a linux soft exist ?
Sort-of. The situation is not great. You can download, but not calibrate, in my experience. There are two bits of software, both a bit half-arsed. dxtool by Mateusz Golicz, simple tool to download distoX data. This summer Olly Betts patched it to work on a distoX2. A preliminary version of that patch is included in my dxtool version at: http://wookware.org/software/repo/pool/main/d/dxtool/ A better one is stuck on a machine that is poorly. This is not fancy but it does download readings. upstream is at: http://jaskinie.jaszczur.org/index_en.html prompted by this mail to finished this off, I have just uploaded it to debian, so it should be available there quite soon at https://tracker.debian.org/pkg/dxtool The other codebase is Marco Corvi's precursor to topodroid: topolinux The drawing part of that codebase, using QT3 is competely obsolete, but the distoX tools comms part is still useful. I got it to download data, and calibration numbers but I never got it to successfully calculate new calibrations and upload them. It was 90% there but there were problems with different tools ordering data in different ways. I never got round to fixing it. It would be good if someone got enthused to fix up this code and then we could do calibrations without needing a windows PDA or laptop to run pockettopo, or an android device to run topodroid. As I own neither of those things I would really like to see this fixed, but still haven't got round to it as it's usually expedition time and it's easier to borrow a suitable device than to stop and fiddle with software :-) I would be keen to work with anyone who has some time for this, to resurrect the 'utils' part of that codebase in working form. Upstream is at https://code.google.com/archive/p/topolinux/ but was abondonned to work on topodroid instead. Marco could no doubt provide more info. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
topolinux code is rather old and was written for distox v.1 bt connection might work, but the data protocol is only v.1 calibration packets are unchanged in v.2, but calibration coeffs have three more numbers for the non-linear algo. the calibration algo is the linear one only. marco On Sep 23, 2016 2:38 PM, "Wookey" <wookey@wookware.org> wrote:
On 2016-09-22 20:52 +0200, cawa.sorix@gmail.com wrote:
Hello,
I look for a software to use a distoX on linux, I found for windows, android, but nothing on linux. Do you know if a linux soft exist ?
Sort-of. The situation is not great. You can download, but not calibrate, in my experience.
There are two bits of software, both a bit half-arsed.
dxtool by Mateusz Golicz, simple tool to download distoX data. This summer Olly Betts patched it to work on a distoX2. A preliminary version of that patch is included in my dxtool version at: http://wookware.org/software/repo/pool/main/d/dxtool/ A better one is stuck on a machine that is poorly.
This is not fancy but it does download readings.
upstream is at: http://jaskinie.jaszczur.org/index_en.html
prompted by this mail to finished this off, I have just uploaded it to debian, so it should be available there quite soon at https://tracker.debian.org/pkg/dxtool
The other codebase is Marco Corvi's precursor to topodroid: topolinux The drawing part of that codebase, using QT3 is competely obsolete, but the distoX tools comms part is still useful. I got it to download data, and calibration numbers but I never got it to successfully calculate new calibrations and upload them. It was 90% there but there were problems with different tools ordering data in different ways. I never got round to fixing it.
It would be good if someone got enthused to fix up this code and then we could do calibrations without needing a windows PDA or laptop to run pockettopo, or an android device to run topodroid. As I own neither of those things I would really like to see this fixed, but still haven't got round to it as it's usually expedition time and it's easier to borrow a suitable device than to stop and fiddle with software :-)
I would be keen to work with anyone who has some time for this, to resurrect the 'utils' part of that codebase in working form.
Upstream is at https://code.google.com/archive/p/topolinux/ but was abondonned to work on topodroid instead.
Marco could no doubt provide more info.
Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
On 2016-09-23 13:37 +0100, Wookey wrote:
On 2016-09-22 20:52 +0200, cawa.sorix@gmail.com wrote:
Hello,
I look for a software to use a distoX on linux, I found for windows, android, but nothing on linux. Do you know if a linux soft exist ?
Sort-of. The situation is not great. You can download, but not calibrate, in my experience.
The other codebase is Marco Corvi's precursor to topodroid: topolinux The drawing part of that codebase, using QT3 is competely obsolete, but the distoX tools comms part is still useful. I got it to download data, and calibration numbers but I never got it to successfully calculate new calibrations and upload them. It was 90% there but there were problems with different tools ordering data in different ways. I never got round to fixing it.
It would be good if someone got enthused to fix up this code and then we could do calibrations without needing a windows PDA or laptop to run pockettopo, or an android device to run topodroid. As I own neither of those things I would really like to see this fixed, but still haven't got round to it as it's usually expedition time and it's easier to borrow a suitable device than to stop and fiddle with software :-)
I would be keen to work with anyone who has some time for this, to resurrect the 'utils' part of that codebase in working form.
So, thanks to me giving a competent person (who also doesn't own any Windows or Android devices) a couple of distoX's that needed calibration, the software situation just improved. Stuart Bennett wrote a python script to do the device detection, calib toggling, data dumping and calib coefficient upload/dpownload, and another to convert csv to the format that topolinux calibration code expects. Combining these bits with a sufficiently-recent (>=0.2) pybluez, I managed to dicover device, set up connection, pair, set calibration mode, do a calibration, download the data, process it with topolinux, and upload the resulting coefficients. i.e. a full linux-based calibration (for a distoX1 only so far), for the first time in about 6 years. Yay! So thanks to Stuart for sorting that. The script is handy in that it deals with discovery, pairing and rfcomm setup painlessly. At the moment this only works with python3 and distoX1, But Stuart plans to use the topodroid codebase to work out the differences for the X2 protocol (unless anyone has a doc for this already, or Marco can tell him). Then the code really needs to be made python2 compatible, because Debian fucked-up and accidentlaly uploaded pyblues 0.18 source as pybluez 0.22, so the forthcoming stable will only have bluetooth support for python2, so this will remain the situation for the next 2 years. This is just the byte-string construction, which is easy and native in python3, but a bit of a pain in python2. Once this is sorted, I plan to package this (i.e these scripts and the calib utilities from topolinux codebase) as distoxtools or something similar so that linux people can easily calibrate/download. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
participants (3)
-
cawa.sorix@gmail.com -
Marco Corvi -
Wookey