sksim source repository?
There is no source repository listed on https://www.npmjs.com/package/sksim
What is the appropriate way to make changes/contributions to that plugin?
8 Replies
You can DM me or raise it here.
@AdrianP so the source code I can find appears to be processed? Ie it is in chunk.js files without any formatting. Am I looking in the wrong place?
@AdrianP FYI - my aspirations (probably unachievable given my limited time), it to modify sksim, firstly to optionally disable pushing of TWD, TWS so I can check my other plugins are correctly calculating them from AWS and AWA. Then I'd like to add a swell simulation, so that the AWS and AWA are modulated by a period and roll/pitch magnitude. Again, this is to help check/configure/develop other plugins that will derive TWD, TWS and other info from AWS, AWA and the pitch/roll data. I've currently started noodling on this in a prettified version of the minimized code.
@Gregw I have published an update which includes switches to "mute" True and Apparent wind values independently (in addition to the existing mute wind button).
This will stop the transmission of these values.
With regards the swell simulation use case. Are you just looking to have controls to output pitch and roll values in a similar manner to the existing controls?
@AdrianP my idea was to configure a direction, period and magnitude of the swell, plus the height of the mast. This would generate pitch and roll data, plus also adjust the AWS and AWA values accordingly. (ChatGPT has been good to helping with the trig).
Also thanks for the True/Apparent switches, but I'm sure they are working correctly for me as I still see environment.wind.directionTrue and environment.wind.speedTrue from sksim
ah they may be historic values... stand by...


Ah I think it is sending a single environment.wind.directionTrue and environment.wind.speedTrue at startup, then it doesn't send them again.
Server will cache the previous values so yes you will see the previous values.
I guess it depends on what the end game is..are you trying to emulate actual values in particular conditions, or are you wanting to confirm TWD and TWS calculations occurring somewhere based on awa and AWS values generated by SKSim?
SKsim is more about the latter.
Actually it is fine as is. It will suit my purposes for messing around with some plugins now that I'm only getting deltas of the apparent values from sksim. Thanks
I'll leave the swell simulation for when I've actually further along with my noodling.