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
A new beginner with Pypilot !
#11
Well, I added in "hat.py" the lines "ActionHeading(self, 120), and ActionHeading(self, -120), and it seems to work. Is this a normal procedure or did I break everything?
Reply
#12
Maybe your version lacks the actual tack command.

What you have produced is something that changes the commanded heading by 120 degrees which is different. You can keep it for now, but the version I am working on (unstable branch) implements tacking as a function (which can be canceled) and uses different steering logic from normal operation.
Reply
#13
OK, but my old Autohelm ST3000 doesn't do any better, I've been sailing with it for 20 years, and it suits me.
I will install the new version when it is available. Thank you for sharing and for your help.
Now I'm waiting for an IBT2 to tackle the motor control.
I'll be back on the forum soon I think !
Reply
#14
The mysteries of electronics!!!
Having received my family this vacation, I moved all my mess used for Pypilot testing and settled elsewhere. After putting everything back together, I restart the Raspi and do a little test… and there, miracle, after several days of unsuccessful attempts, the IBT2 works! I check all my assembly, and I realize that I forgot to reconnect the 5v on the VCC and GND pins of the IBT2. So I proceed to new tests, with and without the 5v connected, to find that it works very well without the 5v, and absolutely not with the 5v connected. Has anyone encountered this anomaly? How to explain it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)