This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem changing negative servo.gain
#1
Finally working at getting tinypilot working again.
Seems like the new software changed the motor direction.
Last year had servo gain of 2 and it reverted to  1.
Via the opencpn plugin changed to -1 forgetting that I needed -2.
That fixed the motor direction.
With servo.gain at -1 it did not allow changing via opencpn plug in.
If I edited pypilot.conf it always reverted back..
Even tried changing via a program.
If I changed to 1 then it allowed me to set to -2.
Something is not allowing to change servo.gain if it's -1.
Reply
#2
(2020-06-14, 07:26 PM)johnm Wrote: Finally working at getting tinypilot working again.
Seems like the new software changed the motor direction.
Last year had servo gain of 2 and it reverted to  1.
Via the opencpn plugin changed to -1 forgetting that I needed -2.
That fixed the motor direction.

I don't know if this is related, but I found (and at least one other person found) that the buttons in the PyPilot software from late last year steer the boat one way when in standby mode, and change the heading in the other direction when in active mode.

  https://forum.openmarine.net/showthread....9#pid11669

I might try new PyPilot software to see if that still happens, but http://pypilot.org/images/ doesn't have anything new.
Reply
#3
Thought I had it set to -2 but it reverted back to 1.
Was on a short sail with some people so had no time to investigate.
No time to investigate in depth.
If I use -1 can I just double all the gain numbers?
My drive a st3000 is slow.
Like to get it working again.

(2020-06-15, 03:29 AM)CapnKernel Wrote:
(2020-06-14, 07:26 PM)johnm Wrote: Finally working at getting tinypilot working again.
Seems like the new software changed the motor direction.
Last year had servo gain of 2 and it reverted to  1.
Via the opencpn plugin changed to -1 forgetting that I needed -2.
That fixed the motor direction.

I don't know if this is related, but I found (and at least one other person found) that the buttons in the PyPilot software from late last year steer the boat one way when in standby mode, and change the heading in the other direction when in active mode.

  https://forum.openmarine.net/showthread....9#pid11669

I might try new PyPilot software to see if that still happens, but http://pypilot.org/images/ doesn't have anything new.

My original software went wrong way in standy.
With latest tinypilot image servo.gain of 1  goes wrong way on all modes.
I'm OK with reversing wires but wires are a bit large for the nylon  connector and want a spare on hand just in case it melts down.
Reply
#4
Got servo.gain set to -2.
Stayed after a reboot.
If I can reproduce my problem I'll report back.
Reply
#5
the servo gain was added for extremely fast/slow motors and also a way to change wires.

You cannot edit the pypilot.conf file while pypilot is running. It will save over this file reverting it. Perhaps pypilot should detect if a user has ediited the file and load in the changes while running?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)