imu data (heading, pitch & heel) with intermittent FALSE values

 

To comment on questions or provide answers, please login first.
Register | Login

 

Questions and AnswersCategory: Moitessier HATimu data (heading, pitch & heel) with intermittent FALSE values
geronius asked 5 years ago

Hi again,
when running my first real life tests, I observed that OpenCPN’s MAG Hdg, Pitch and Heel are toggling between zero and the real values in more or less regular intervals most of the time. Diagnostic data as shown by OpenPlotter reveal many HDM and XDR sentences holding FALSE values.
example:
$APHDM,250.127,M*30
$APXDR,A,-5.878,D,ROLL*46
$APXDR,A,0.799,D,PTCH*7C
$APHDM,250.127,M*30
$APXDR,A,-5.878,D,ROLL*46
$APXDR,A,0.799,D,PTCH*7C
$APHDM,False,M*40
$APXDR,A,False,D,ROLL*1A
$APXDR,A,False,D,PTCH*08
$APHDM,False,M*40
$APXDR,A,False,D,ROLL*1A
$APXDR,A,False,D,PTCH*08
$APHDM,250.38,M*0F
$APXDR,A,-5.983,D,ROLL*43
$APXDR,A,0.779,D,PTCH*72
$APHDM,250.38,M*0F
$APXDR,A,-5.983,D,ROLL*43
$APXDR,A,0.779,D,PTCH*72
$APHDM,250.413,M*32
$APXDR,A,-5.979,D,ROLL*46
$APXDR,A,0.777,D,PTCH*7C
$APHDM,250.413,M*32
$APXDR,A,-5.979,D,ROLL*46
$APXDR,A,0.777,D,PTCH*7C
$APHDM,False,M*40
$APXDR,A,False,D,ROLL*1A
$APXDR,A,False,D,PTCH*08
$APHDM,False,M*40
$APXDR,A,False,D,ROLL*1A
$APXDR,A,False,D,PTCH*08
$APHDM,250.582,M*3B
$APXDR,A,-5.975,D,ROLL*4A
$APXDR,A,0.8,D,PTCH*73
Any idea what’s wrong here? Can you suggest an approach to further analyze this issue?
best regards,
Michael
 

2 Answers
Sailoog answered 5 years ago

Hi Michael,
Could you tell us your settings?

  • Kernel version (uname -a)
  • Openplotter version
  • pypilot tab settings
  • are you sure any other soft or hard is trying to access the sensors?
geronius answered 5 years ago

Hi,
thanks for looking into this. In the meantime I found a workaround, however I will give as much informations so it may enable you to reproduce the error (and possibly fix in OP 2.0.0). Feel free to ask for more.
Pi 3B v1.2, kernel 4.14.98-v7+
Moitessier hat, moitessier_4.14.98_armhf.deb (feb 2019, probably FW 1.2.1)
OP 1.2.0 alpha
OCPN 5.0.0
Strom pi 3 FW 1.7
No other SW than OP is accessing the sensors afaik. However I remembered an IMU-calibration issue I reported earlier to Sean in pypilot github
Out of curiosity I deactivated the realvnc virtual desktop service and the dropouts stopped. After restarting the vncvirtualdesktop.service, HDM and XDR started dropping again.
So, not only IMU calibration dialog but IMU data as well seem to be somehow affected by RealVNC virtual desktop. Maybe this issue can be looked into in OP 2.0.0 (prio low)
regards,
Michael

 

To comment on questions or provide answers, please login first.
Register | Login