OpenROV / openrov-software-arduino

Arduino projects for the OpenROV platform.
http://openrov.com
MIT License
51 stars 65 forks source link

Motor linear adjustments need to be independent of motor reverse #4

Closed BrianAdams closed 9 years ago

BrianAdams commented 10 years ago

Motor reverse is supposed to swap the sign of the signal sent to the motor. The current linear correction is happening after the sign is altered. It should be based on the sign before it is altered.

I suspect if you reverse one thruster it will actually go twice as fast when going forward because the modifier of 2 is applied as if it were in the reverse direction due to the sign.