Hi everyone,
I have installed an MPU-9255 sensor.
i am working on a red node dasboard to read the values with an internet browser.
I am able to pipe and read navigation.attitude.roll and navigation.attitude.pitch.
but impossible to do the same with navigation.headingMagnetic. When i check the values with openplotter diagnostic SignalK input windows, the sensor is sending values.
So it seems the issue is between signal K and red node.
Any idea ?
below is my code for the red node fonction :
then i use a UI_text
with {{value}} in the value format filed
thanks !
I have installed an MPU-9255 sensor.
i am working on a red node dasboard to read the values with an internet browser.
I am able to pipe and read navigation.attitude.roll and navigation.attitude.pitch.
but impossible to do the same with navigation.headingMagnetic. When i check the values with openplotter diagnostic SignalK input windows, the sensor is sending values.
So it seems the issue is between signal K and red node.
Any idea ?
below is my code for the red node fonction :
Code:
var signalk_key="navigation.headingmagnetic";
if(msg.payload.hasOwnProperty(signalk_key)){
msg.payload=msg.payload[signalk_key];
return msg;
}
then i use a UI_text
with {{value}} in the value format filed
thanks !