2020-01-10, 01:11 AM
(This post was last modified: 2020-01-10, 01:15 AM by seandepagnier.)
(2020-01-09, 08:32 PM)syohana Wrote: Hi Sean, I did edit servo.max_slew_speed and it just reverted back to the old value ten mins later.Was it working correctly for 10 minutes?
Quote:What's worse it is defaults to 100 not the 10-20 range you say is normal.It must be set to 100 in eeprom.
Quote:There seem to be two issues:You can't edit pypilot.conf while pypilot is running.
1. It is impossible to edit this setting, it just gets reverted back whatever I do.
Quote:2. The default value is wrong and makes it impossible to use the pilot with the default settings.I am not sure how you are changing it but if it is by editing pypilot.conf it might explain it. You edit the value, and the motor controller loads its own value. Normally if you modify the slew rate while pypilot is running (through the ui) the new value gets written to eeprom.
So now I have a pilot I can't use at all...
Surely there must be some way to save this setting and force it to copy to the motor controller too????
It is possible to disable loading the setting from the controller but unfortunately the servo.use_eeprom is not available to pypilot.conf (my mistake), so you would have to change it while pypilot is running which is the same problem.
So I suggest using either signalk_client_wx, or the opencpn pypilot plugin (recent version) which both have ui to change any autopilot parameter while running.
I have just now made changes to allow changing slew from web and making the use_eeprom available in pypilot.conf