2019-12-26, 01:35 PM
Paddy,
I believe you helped me pointing me towards the SignkSens earlier. I've run into another challenge now with my MPU 9250. I have added the sensor to my D1 mini and set the path to navigation.attitude.
When looking up sensor info i get this:
... websocketClientConnectedPort":3000,"websocketClientConnected":true,"sensors":[{"address":"Local","type":0,"attrs":[{"name":"systemHz","signalKPath":"sensors.D1MiniCompass.systemHz","value":"2537.00"},{"name":"freeMem","signalKPath":"sensors.D1MiniCompass.freeMem","value":"16488"},{"name":"uptime","signalKPath":"sensors.D1MiniCompass.uptime","value":"85.24"}]},{"address":"0x68","type":4,"attrs":[{"name":"tempK","signalKPath":"navigation.attitude.temperature","offset":0,"scale":1,"value":"304.64"},{"name":"yaw","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"0.5835"},
{"name":"pitch","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"0.0458"},
{"name":"roll","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"-0.0845"}......
I would think that I would get the values right. However, when I look up the sensor in my signal K instrument panel, the attitude sensor is added, but it displays this:
navigation.attitude
yaw: -.----°
pitch: -.----°
roll: -.----°
So no numbers.
When setting up a subscribe node in node red, and subscribing to navigation.attitude i get a value that resembles the value I should get from "roll". What to do? How do I get the data where it is supposed to be. I tested (wrongly) to declare navigation.attitude.yaw etc as three separate sensors, but I assume that's not how its's supposed to be done. Help! :-D
I believe you helped me pointing me towards the SignkSens earlier. I've run into another challenge now with my MPU 9250. I have added the sensor to my D1 mini and set the path to navigation.attitude.
When looking up sensor info i get this:
... websocketClientConnectedPort":3000,"websocketClientConnected":true,"sensors":[{"address":"Local","type":0,"attrs":[{"name":"systemHz","signalKPath":"sensors.D1MiniCompass.systemHz","value":"2537.00"},{"name":"freeMem","signalKPath":"sensors.D1MiniCompass.freeMem","value":"16488"},{"name":"uptime","signalKPath":"sensors.D1MiniCompass.uptime","value":"85.24"}]},{"address":"0x68","type":4,"attrs":[{"name":"tempK","signalKPath":"navigation.attitude.temperature","offset":0,"scale":1,"value":"304.64"},{"name":"yaw","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"0.5835"},
{"name":"pitch","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"0.0458"},
{"name":"roll","signalKPath":"navigation.attitude","offset":0,"scale":1,"value":"-0.0845"}......
I would think that I would get the values right. However, when I look up the sensor in my signal K instrument panel, the attitude sensor is added, but it displays this:
navigation.attitude
yaw: -.----°
pitch: -.----°
roll: -.----°
So no numbers.
When setting up a subscribe node in node red, and subscribing to navigation.attitude i get a value that resembles the value I should get from "roll". What to do? How do I get the data where it is supposed to be. I tested (wrongly) to declare navigation.attitude.yaw etc as three separate sensors, but I assume that's not how its's supposed to be done. Help! :-D