patrick_b8999g78gf54d75
patrick_b8999g78gf54d75
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
just another question, which brand or company is generating the 'other' MXPGN sentence? Shipmodule is investigating what's going wrong.
39 replies
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
Thanks scott, the fix you made is working
39 replies
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
I assume adding an option to specify the brand is not an easy implementation?
39 replies
SKSignal K
Created by Jason_SV.Apres|Hunter336|WI on 7/22/2024 in #questions
is Seatalk 1 Gauge illumination level captured by the current Seatalk 1 plugin?
@Jason_SV.Apres|Hunter336|WI, Unfortunately this is not integrated. Probably because it's propriety information. if the sentences are known a 'custom' sensor could be made.
2 replies
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
Hi Scott, I received the following response from Shipmodule: "" If you look at the specification of the MXPGN sentence, you can see that the payload is not the bytes of the CAN frame read from left to right (B0 to B7), but exactly the other way around: B7 to B0. These eight bytes are therefore placed as one 64 bit word in the MXPGN sentence, most significant byte first. And then you will see that the last 16 bit word, 9F3B, is exactly the Raymarine manufacturer code in the first 11 bits, supplemented with the reserved field and the industry code in the last/highest three bits. The pilot mode is then in the bold/red printed part: FF02000000009F3B (standby) FF02000000409F3B (car) I did it this way because you don't have to buffer all the bytes in the receiving software. You can instantly read the payload from the string as a 64 bit hexadecimal number and map it directly to a packed structure that defines the individual fields. This also makes manually reading a frame easier because you can cut the 64 bit word into pieces to read a 32 or 16 bit value, for example, without having to exchange the bytes first. I hope it's clearer this way.
39 replies
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
Can you explain what is exactly converted wrong? I will report it back to meindert.
39 replies
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
The issue with the control of the autopilot has been solved. Somehow i am still having some issues with the status (steering.autopilot.state PGN 65379) returned on N2K via a $MXPGN message. I do see the status change when i put the pilot in auto or manual in the event log. However in the databrowser (and in the plugin) it always stays on "Standby". Message when pilot put in auto: $MXPGN,00FF63,78CC,FF02000000409F3B62 Message when pilot put in standby: $MXPGN,00FF63,78CC,FF02000000009F3B66 When i look in the code the 40 in hex represents to mode 64 auto in dec. Does anyone have any Idea? 65379.js module.exports = [ { node: 'steering.autopilot.state', value: function (n2k) { var mode = Number(n2k.fields['Pilot Mode']) var subMode = Number(n2k.fields['Sub Mode']) if (mode == 0 && subMode == 0) return 'standby' else if (mode == 0 && subMode == 1) return 'wind' else if ((mode == 128 || mode == 129) && subMode == 1) return 'route' else if (mode == 64 && subMode == 0) return 'auto' else return 'standby' } } ]
39 replies
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
Hi Guys,
39 replies
SKSignal K
Created by patrick_b8999g78gf54d75 on 7/16/2024 in #questions
Autopilot -> Shipmodule N2K -> signalK
Hi Scott, thanks for the reply. It looks like something is going wrong on the status indication. It doesn’t matter if the autopilot is in auto or standby. It always reports standby on pgn 65379. Will try to figure this issue out first
39 replies