SK
Signal Kβ€’6mo ago
Feadur

MigGat - I wrote a polar recording plugin. Init...

I wrote a polar recording plugin. Initially it was just for me, but me, but if you might find it intesresting, and someone can help me with publishing to npm, i'll gradly share! It can display current polar, as well as any recorded polar. Polars can be recorded incrementally, or a totally new table. It also displays the current TWA/TWS/Speed point so you can check how good is your performance
No description
No description
18 Replies
Copprhead
Copprheadβ€’6mo ago
Looks nice, I'd like to try it. Publishing to npm is really easy as I just learned myself: Create an account, set up 2FA (I tried without but they send you one-time-passwords by email, which many times arrived too late and were expired in my case, a real PITA), get all the info in package.json in good shape, include license info and README.md and type 'npm publish'. Authenticate and off it goes.
Feadur
FeadurOPβ€’5mo ago
As soon as i finish with my other project, i will make this public πŸ™‚ Meanwhile, fell free to check it out! https://github.com/miggat/signalk-polar-recorder
HansT
HansTβ€’5mo ago
Nice work!
Feadur
FeadurOPβ€’5mo ago
Thanks! All suggestions are welcome of course
HansT
HansTβ€’5mo ago
There's a couple of things I thought of while thinking about creating one myself: - Configurable time on-course for speed data to be valid (e.g. 10 seconds within 1 deg course) - Engine detection (learning off) - Current detection (learning off) - Use Pitch/Roll for wave size detection, as polar could have multiple versions for different wave heights - Store timestamp with values to allow for aging of data. - Fresh / Salt water difference
Feadur
FeadurOPβ€’5mo ago
Note taken! I already had in mind this 2: Engine detection (learning off) Store timestamp with values to allow for aging of data. Let's see what i can do with the others
Copprhead
Copprheadβ€’5mo ago
I think this ft from HansT is very important: - Configurable time on-course for speed data to be valid (e.g. 10 seconds within 1 deg course)
Unknown User
Unknown Userβ€’4mo ago
Message Not Public
Sign In & Join Server To View
Dirk SV MOIN
Dirk SV MOINβ€’3mo ago
Good morning, looks really promissing. Would like to test it once in npm. Engine on detection could be implemented by rpm > 0 on one of the engines. My personal tream would be a automatic mode that runs 24/7 in the background and records when not moored or anchored, It will learn as we go and permanently improve based upon our voyages. With the ability to export the current model I could feed a weather reouting software. Hope you will push it this direction one day.
Feadur
FeadurOPβ€’3mo ago
Sorry guys, i've been very busy with my regular job and temporarily abandoned this project for a couple month. I'm back on it, and adding all your suggestions (including the background learning). I hope to be able to publish to npm in 1 or 2 weeks
Feadur
FeadurOPβ€’3mo ago
I finally published a very beta (or alpha, LOL) version. I don't have time for more right now, but i'll write a readme ASAP. Meanwhile, if you want to test, the "recording in background" seems to work perfectly fine, and updates the polar in real time (no need to have the webapp open though, of course). Let me know if you find errors or features not yet implemented, as it will be quite easier for me to address them one by one based on what people ACTUALLY need. Also please note that i haven't been able to sail for a while, so it's all been tested with SKSim https://www.npmjs.com/package/polar-recorder
No description
Feadur
FeadurOPβ€’3mo ago
@Dirk SV MOIN The current 0.0.3 version does exactly what you asked for! Except for exporting , which will be there in v0.0.4 (hopefully today) Added polar export in v0.0.4 Added import polar in v0.0.5 Added in v0.0.8
Copprhead
Copprheadβ€’3mo ago
Great! Canβ€˜t wait to get to the boat and try it!
Feadur
FeadurOPβ€’3mo ago
Great! If someone can test it would be awesome, because i won't have my boat fixed before 6-8 weeks, so impossible to test without sksim on my side This week i'll be working on these 2 feature set: 1) Polar management (delete, merge, purge all data) 2) Manual recording. Meant to take an existing polar and update with new recording. I.e: After changing some sails or anything that can improve boat performance. I'm afraid i'm not skilled enough for the wave height considerations. I mean what kind of formula would you apply? Some correction factor to boat speed based on wave height?
mgrouch
mgrouchβ€’3mo ago
There could be another dimensions of wave height and direction to polar. For wave height measurement you could use Bareboat Necessities heave (wave height) frequency and direction sensor with IMU. See https://github.com/bareboat-necessities/bbn-wave-period-esp32
Feadur
FeadurOPβ€’3mo ago
Interesting. I will try with the IMU already present in the MacArthur hat. But that will have to wait until my boat is on the sea again
Feadur
FeadurOPβ€’3mo ago
This is how it looks in a jailbroken axiom
No description
Feadur
FeadurOPβ€’3mo ago
Guess i'm better coder than photographer πŸ˜…

Did you find this page helpful?