motordevice.power () unigned integer instead of signed.
Closed this issue · 1 comments
LinAGKar commented
When giving a power value to the motors (with ev3.rawdevice.motordevice.power ()), values from 128 to 255 makes the motor go backwards rather than negative values. This suggests that the integer is converted to an unsigned 8-bit integer and the treated as a signed one. Instead it should be properly converted to a signed one. Alternately you could add 256 to to negative numbers to compensate (and disallow values greater than 127).
topikachu commented
No apply to new python-ev3 release