2020-11-12, 02:47 PM
[attachment=1133 Wrote:rsairving@hotmail.com pid='16976' dateline='1605178814']Hi
Thanks for getting back. If I apply power directly to the motor I get the full range of motion in the ram, about 25cm
I will try to measure the draw but at the moment it is unladen.. the ram is not attached to anything, so draw should be low
I have not connected rudder feedback.. current set up is just a the clutch , the pi and the controller wired directly to the battery, when I run it like this the ram moves about 5 cm in one direction and will not move again untill I swing the pi back in the other direction, when it moves 5cm the other way.
What limits how far the motor will attempt to turn the rudder.. is it the resistance when it hits the stops or is that a config setting?
Thanks
In the settings or "config" there is a line called servo.max_current, this setting is used as a software end stop. Basically when there is more resistance against the motor it uses more amperage and therefore that is the end stop, pypilot will only allow the motor to turn the other way, if this is too low it may result as you have stated above, try increasing this value and see if that solves your problem.