2019-02-15, 06:42 AM
(This post was last modified: 2019-02-15, 06:48 AM by seandepagnier.)
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.
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.