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
no rudder feedback
#16
(2019-02-15, 06:42 AM)seandepagnier Wrote: There are 3 values used for the rudder feedback:

servo.rudder.offset - set to ensure 0 gives neutral rudder position,  It is floating point from -1 to 1, but usually near zero if your rudder feedback is well balanced.
servo.rudder.scale - scale factor to make the angle correct.  This can be negative if the rudder feedback is opposite to the motor direction.
servo.rudder.range - min/max angle allowed for the motor to move the rudder


If you are getting rudder values from -30 to 30 from the nmea output, then the rudder feedback should be working, but maybe the direction is reversed.

Be sure to click rudder at range when starboard not port, or negate the servo.rudder.scale value, or flip the + and - wires of the potentiometer.   

There were some changes to use the arduino eeprom to remember motor specific settings and this may have introduced a bug.  Could you try:

git checkout 484c08c182

sudo python setup.py install

Let me know if you still get the max rudder flag.

Thanks Sean, really appreciate your reply. I tried your suggestions and also the different git version but unfortunately didn't succeed. Calibrating to starboard might have been an issue but now I get the MIN RUDDER flag instead. The servo continues to move only in one direction. I tried various configurations to connect the potentiometer wires but that didn't solve it. I see a voltage of between 0-1.1v when I test the middle wire with a multimeter. This middle wire is connected to the analog pin.  In pypilot calibration, the rudder zeros out around .55v and rudder angle of -29 and 29 is indicated at around 0 .1 and 1v.  Pressing the rudder at center and rudder at range doesn't seem to do anything. I can't get to a 30 degree angle because at that point the voltage drops to zero or 1.1v and the angle reads as "FALSE". Maybe that's an issue? I did try calibrating with a range of 10, 20 but that also didn't work. 

In the configuration menu in the pypilot plug-in, I tried setting the minimum and max rudder angles at a range of values between -100 and 100 for both max and min but that also didn't clear the flag.
Reply


Messages In This Thread
no rudder feedback - by kalle - 2018-06-05, 02:11 PM
RE: no rudder feedback - by seandepagnier - 2018-06-06, 06:30 PM
RE: no rudder feedback - by kalle - 2018-06-06, 09:55 PM
RE: no rudder feedback - by seandepagnier - 2018-06-07, 06:16 AM
RE: no rudder feedback - by kalle - 2018-06-08, 10:45 AM
RE: no rudder feedback - by xfactor99 - 2019-01-07, 12:40 AM
RE: no rudder feedback - by xfactor99 - 2019-01-07, 12:50 PM
RE: no rudder feedback - by kalle - 2019-01-07, 01:38 PM
RE: no rudder feedback - by xfactor99 - 2019-01-07, 06:01 PM
RE: no rudder feedback - by kalle - 2019-01-07, 07:23 PM
RE: no rudder feedback - by seandepagnier - 2019-01-08, 01:54 AM
RE: no rudder feedback - by xfactor99 - 2019-01-08, 08:45 AM
RE: no rudder feedback - by xfactor99 - 2019-01-09, 05:36 PM
RE: no rudder feedback - by donovanes - 2019-02-15, 04:07 AM
RE: no rudder feedback - by seandepagnier - 2019-02-15, 06:42 AM
RE: no rudder feedback - by donovanes - 2019-02-16, 10:38 PM
RE: no rudder feedback - by seandepagnier - 2019-02-16, 10:58 PM
RE: no rudder feedback - by donovanes - 2019-02-22, 06:50 AM
RE: no rudder feedback - by seandepagnier - 2019-02-22, 10:26 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)