SK
Signal K9mo ago
Roger

Roger - I'm trying to set up leeway using the D...

I'm trying to set up leeway using the Derived Data plugin. on my boat, I'm getting attitude data from a Raymarine EV1. The SK path is navigation.attitude and it outputs a json object:
{
"yaw": -0.7902,
"pitch": -0.0009,
"roll": -0.0278
}
{
"yaw": -0.7902,
"pitch": -0.0009,
"roll": -0.0278
}
It appears that the plugin is expecting navigation.attitude.roll as a standalone delta.
4 Replies
Scott Bender
Scott Bender9mo ago
Definitely a bug in derived-data
Roger
RogerOP9mo ago
Ok, I've made a couple of adjustments and got it working so I can submit a PR if you like. I also found a bug where it's producing an invalid value if STW is 0.
Scott Bender
Scott Bender9mo ago
Yes, please!
Roger
RogerOP9mo ago
I've just submitted this PR, https://github.com/SignalK/signalk-derived-data/pull/129, and then noticed that there was an existing PR that's quite old, https://github.com/SignalK/signalk-derived-data/pull/97.
Want results from more Discord servers?
Add your server