Everything is working well, I've started to test lots of Arduino stuff. Successfully trimmed the pan/tilt/grip servos so they are all nicely centered and leveled by default.
One thing I've noticed: when moving forward in the autonomous mode, it drifts slightly to the left. (I'm sure others will experience other distortions, it is a fact of life with DC motors).
Would it be possible to add a trim adjustment to the drive motors, similar to the servos, to get it to move in a straight line?
Feature request: Trim for drive motors?
-
- Posts: 75
- Joined: Fri Jan 26, 2018 5:03 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
-
- Posts: 75
- Joined: Fri Jan 26, 2018 5:03 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Feature request: Trim for drive motors?
This looks easy to do, I'll work on it tomorrow.
I'm going to provide a trim value (negative, turn left; positive turn right) applied as a percentage to the motor speed (divide the trim value / 2 and use it to increase one motor and decrease the other). I'll look into the EEPROM code to see where I can park this value, though may not be necessary.
I suspect that the power/speed curves may not be linear or the same shape for both motors, so I may provide an array of trim values for different speed ranges.
I'm going to provide a trim value (negative, turn left; positive turn right) applied as a percentage to the motor speed (divide the trim value / 2 and use it to increase one motor and decrease the other). I'll look into the EEPROM code to see where I can park this value, though may not be necessary.
I suspect that the power/speed curves may not be linear or the same shape for both motors, so I may provide an array of trim values for different speed ranges.
Who is online
Users browsing this forum: No registered users and 3 guests