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
How to update motor controller arduino
#2
Do you mean the new changes use 16bit rudder stop resolution on the controller and also support rudder feedback with reversed polarity (voltage decreases as rudder moves to starboard)?

If you don't update the motor controller, it will still fully support this including both polarities, but the end of travel from rudder position logic will be handled in python only. Updating the motor controller will also perform this logic on the controller itself which has a faster reaction time, and slightly safer in case the raspberry with pypilot resets while the motor is still moving, it might not time out before stalling the motor in some cases.

In practice if the drive can move more than 2 degrees past the rudder feedback stops without reaching the maximum travel and stalling the motor, then it will be fine even in the worst case with only python logic, so I don't think it is very important to update the controller.

You can of course upload the new version by typing "make upload" in pypilot/arduino/motor
Reply


Messages In This Thread
RE: How to update motor controller arduino - by seandepagnier - 2019-10-04, 01:35 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)