2020-04-22, 12:13 PM
Hi Massilia,
I understand your concerns and I do not know the answer to your problem, because the engine code is something complicated and I do not understand all the subtleties!
Reading the post on the link you mention, I see that even the creator of the program does not yet have the answer, while he is gifted and knows his program very well!
I know that signalK is launched at the start of the pi as well as pypilot which depends on it. I think that one should not consider "the engagement of the pilot" like a general switch, but that it is advisable to put a switch on the supply of the arduino. By doing this, even if the program sends an order, it will not be interpreted by your engine because its controller will be inactive. All danger is therefore averted. When you decide to go under pilot, you just have to flip the arduino switch and engage the pilot on the software.
A pragmatic way to get around this problem!
I do not know if this solution seems satisfactory to you, but I can hardly offer you better!
Good research, and if you find, I'm interested, pending a possible correction of Sean's code.
cordially
I understand your concerns and I do not know the answer to your problem, because the engine code is something complicated and I do not understand all the subtleties!
Reading the post on the link you mention, I see that even the creator of the program does not yet have the answer, while he is gifted and knows his program very well!
I know that signalK is launched at the start of the pi as well as pypilot which depends on it. I think that one should not consider "the engagement of the pilot" like a general switch, but that it is advisable to put a switch on the supply of the arduino. By doing this, even if the program sends an order, it will not be interpreted by your engine because its controller will be inactive. All danger is therefore averted. When you decide to go under pilot, you just have to flip the arduino switch and engage the pilot on the software.
A pragmatic way to get around this problem!
I do not know if this solution seems satisfactory to you, but I can hardly offer you better!
Good research, and if you find, I'm interested, pending a possible correction of Sean's code.
cordially