This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
same object gives different output ?
#6
I have upgraded to OpenPlotter 0.12.0 but am still having the same issue.
on one flow, I have two web sockets with their output going to a debug node.
Both web sockets were generated by dragging a web socket onto the flow and hitting 'done' on the details (ie: everything is default)
Both web sockets are /ws://localhost:3000/signalk/v1/stream?

Debug output on web socket one is :
msg.payload : Object
{ navigation.position: object }
2017-07-04, 12:37:22 PMnode: c99866e.b8a3f98msg.payload : Object
{ navigation.gnss: object }
2017-07-04, 12:37:22 PMnode: c99866e.b8a3f98msg.payload : Object
{ navigation.position: object }
2017-07-04, 12:37:22 PMnode: c99866e.b8a3f98msg.payload : Object
{ navigation.position: object }
2017-07-04, 12:37:22 PMnode: c99866e.b8a3f98msg.payload : Object
{ navigation.courseOverGroundTrue: 1.1344640137963142, navigation.speedOverGround: 0, navigation.magneticVariation: 0.2792526803190927 }
2017-07-04, 12:37:22 PMnode: c99866e.b8a3f98msg.payload : Object
{ navigation.courseOverGroundMagnetic: 0.8552113334772214, navigation.courseOverGroundTrue: 1.1344640137963142, navigation.speedOverGround: 0 }
2017-07-04, 12:37:22 PMnode: c99866e.b8a3f98msg.payload : Object
{ environment.wind.speedApparent: 3.395334193484662, environment.wind.angleApparent: 0.2617993877991494 }


Debug output on web socket two is:
msg.payload : Object
{ empty }
2017-07-04, 12:36:08 PMnode: 6152c793.dab9amsg.payload : Object
{ empty }
2017-07-04, 12:36:08 PMnode: 6152c793.dab9amsg.payload : Object
{ empty }
2017-07-04, 12:36:08 PMnode: 6152c793.dab9amsg.payload : Object
{ empty }
2017-07-04, 12:36:08 PMnode: 6152c793.dab9amsg.payload : Object
{ empty }
2017-07-04, 12:36:08 PMnode: 6152c793.dab9amsg.payload : Object
{ empty }
2017-07-04, 12:36:08 PMnode: 6152c793.dab9amsg.payload : Object
{ empty }

Debug output that is from another identical web socket on a different flow and what I would expect from both of these other nodes:
2017-07-04, 12:39:42 PMnode: 6b170cfc.6d26f4msg.payload : string[374]
"{"context":"vessels.urn:mrn:imo:mmsi:31602354","updates":[{"source":{"type":"NMEA0183","sentence":"RMC","label":"OPkplex","talker":"GP"},"timestamp":"2017-08-04T19:39:41.000Z","values":[{"path":"navigation.courseOverGroundTrue","value":1.1344640137963142},{"path":"navigation.speedOverGround","value":0},{"path":"navigation.magneticVariation","value":0.2792526803190927}]}]}"
2017-07-04, 12:39:42 PMnode: 6b170cfc.6d26f4msg.payload : string[381]
"{"context":"vessels.urn:mrn:imo:mmsi:31602354","updates":[{"source":{"type":"NMEA0183","sentence":"VTG","label":"OPkplex","talker":"GP"},"timestamp":"2017-07-04T19:39:42.000Z","values":[{"path":"navigation.courseOverGroundMagnetic","value":0.8552113334772214},{"path":"navigation.courseOverGroundTrue","value":1.1344640137963142},{"path":"navigation.speedOverGround","value":0}]}]}"
2017-07-04, 12:39:42 PMnode: 6b170cfc.6d26f4msg.payload : string[328]
"{"updates":[{"source":{"type":"NMEA0183","sentence":"MWV","label":"OPkplex","talker":"EC"},"timestamp":"2017-07-04T19:39:42.000Z","values":[{"path":"environment.wind.speedApparent","value":3.6011120233928238},{"path":"environment.wind.angleApparent","value":0.12217304763960307}]}],"context":"vessels.urn:mrn:imo:mmsi:31602354"}"

Deleting the node that provides the good output and re-creating it changed no outputs of the other nodes
Deleting the node that provided bad output data and re-creating it still provided bad data but now the node that was providing 'empty' output provides the same output as the bad data node (this was without any user change on that node!)

There is definitively something funky going on and I have no clue what it could be!

BTW, previously, when I deleted the websocket node that had good output and recreated it, it would flip all other web socket nodes to proper output!
Reply


Messages In This Thread
same object gives different output ? - by JD1 - 2017-06-30, 07:43 PM
RE: same object gives different output ? - by JD1 - 2017-06-30, 10:04 PM
RE: same object gives different output ? - by JD1 - 2017-06-30, 11:50 PM
RE: same object gives different output ? - by JD1 - 2017-07-01, 04:40 AM
RE: same object gives different output ? - by JD1 - 2017-07-04, 08:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)