Testing: Is it Possible to use "Data Fiddler" to move my boat in OpenCPN? - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: Testing: Is it Possible to use "Data Fiddler" to move my boat in OpenCPN? (/showthread.php?tid=4187) |
Testing: Is it Possible to use "Data Fiddler" to move my boat in OpenCPN? - forceseven - 2022-08-18 Still learning.. but was wondering. (All this is on a "test bed" on my desk at home, so no "real" data is available yet.) I have OpenCPN connected to a Signal K server. Is it possible to put "some" JSON in the "Data Fiddler" of Signal K and move the location of my boat in OpenCPN? I have setup my boats MMSI and Call Sign. If it's possible, does anyone have any sample JSON? I have tried the following JSON but with no success... I have replaced the MMSI at the top for my MMSI.... { "context": "atons.urn:mrn:imo:mmsi:232018231", "updates": [ { "values": [ { "path": "navigation.position.longitude", "value": -3.17 }, { "path": "navigation.position.latitude", "value": 51.48 }, { "path": "name", "value": "BeaconPy" }, { "path": "virtual", "value": "true" }, { "path": "atonType.name", "value": "BLE Beacon Py" } ] } ] } RE: Testing: Is it Possible to use "Data Fiddler" to move my boat in OpenCPN? - forceseven - 2022-08-19 good news! my theory is correct. i have managed to put an AIS report onto the map with the following JSON in "Data Fiddler" { "context" : "vessels.urn:mrn:imo:mmsi:503067900", "updates" : [ { "source" : { "talker" : "AI", "label" : "183TCP", "sentence" : "VDM", "type" : "NMEA0183" }, "$source" : "183TCP.AI", "timestamp" : "2022-08-19T12:30:10.452Z", "values" : [ { "path" : "", "value" : { "mmsi" : "503067900" } }, { "path" : "navigation.speedOverGround", "value" : 0 }, { "path" : "navigation.courseOverGroundTrue", "value" : 0 }, { "path" : "navigation.position", "value" : { "latitude" : 51.449987, "longitude" : -3.169099 } }, { "path" : "sensors.ais.class", "value" : "B" } ] } ] } RE: Testing: Is it Possible to use "Data Fiddler" to move my boat in OpenCPN? - PaddyB - 2022-08-19 Have you tried the sksim app? It create moving position & lots more to play with RE: Testing: Is it Possible to use "Data Fiddler" to move my boat in OpenCPN? - forceseven - 2022-08-19 Wow! I was not aware of that app. Many thanks! |