SignalK / signalk-derived-data

Generates deltas for values derived from signalk values
Apache License 2.0
18 stars 31 forks source link

wind.angleTrueWater and wind.speedTrue aren't being generated #51

Closed KaappoRaivio closed 4 years ago

KaappoRaivio commented 4 years ago

Expected behaviour The plugin should generate environment.wind.speedTrue and environment.wind.angleTrueWater from environment.wind.speedApparent, environment.wind.anleApparent, and navigation.speedThroughWater Actual behaviour Nothing is being generated by the plugin. signall-Derived-data: no directionChangeAlarm value (sic) is being spammed into the console.

This is the available data generated by the simulator plugin: image

This is what the plugin config looks like:


  "enabled": true,
  "enableLogging": false,
  "enableDebug": true,
  "configuration": {
    "default_ttl": 0,
    "engine_instances": "port, starboard",
    "battery_instances": "0",
    "tank_instances": "fuel.0, fuel.1",
    "air": {
      "Air density": false,
      "dewPoint": false,
      "Heat Index": false,
      "Wind Chill": false
    },
    "electrical": {
      "batterPower0": false
    },
    "traffic": {
      "CPA": false,
      "range": 1852,
      "timelimit": 30,
      "sendNotifications": true
    },
    "depth": {
      "belowKeel": false,
      "belowKeel_2": false,
      "belowSurface": false
    },
    "propulsion": {
      "economyport": false,
      "economystarboard": false,
      "propslipport": false,
      "propslipstarboard": false
    },
    "wind": {
      "groundWind": false,
      "trueWind": true,
      "directionTrue": true,
      "directionMagnetic2": false,
      "directionMagnetic": false,
      "windShift": true
    },
    "heading": {
      "heading": false,
      "leeway": false,
      "kFactor": 12
    },
    "moon": {
      "Moon": true
    },
    "sun": {
      "Sun": true,
      "Sun Time": false
    },
    "tanks": {
      "tankVolume_fuel.0": false,
      "volume_unit": "litres",
      "tankVolume_fuel.1": false
    },
    "vmg": {
      "vmg_Course": false,
      "vmg_Wind": true
    }
  }
}```
KaappoRaivio commented 4 years ago

BUMP

sbender9 commented 4 years ago

Do you have headingTrue also? It’s not mentioned, but is required.

KaappoRaivio commented 4 years ago

Oh, that fixed the issue. Thanks!