Running Ardusub 4.0.1, Companion 0.0.20 and Waterlinked 2.5.1 makes communication working, but the received depth in WL is always 0 meters.
This makes the positioning useless with position error up to 100 meters.
Starting WL webUI without running BR softwares displays error “No external depth received” and also sets a flag in diagnostics “NoDepthReceived” as intended.
Starting BR software makes the WL error and flag disappear, also as intended.
Looking in WL webUI “acoustic:input_temperature” is received with correct value. But “acoustic:input_depth” always displays exactly “0m” even at 100 m depth.
Depth in QGC is always correct.
How can I trace problem?
Thanks for quick answer Kristian!
Yes, QGC always display correct depth.
Trying your suggestion “screen -r wldriver” gives that companion module is sending “0.0” meters all the time.
I guess that mean there is something wrong in companion module.
Hi @williangalvani for tip
Since Companion is sending temperature correct, it might be possible to find the problem by comparing script for temperature with script for depth?