Motors
Posted: 17 Dec 2020 17:16
Hi!
First thing want to say is thank you for creating and maintaining cpp4robots! I'm so happy I can finally program EV3 in c++!
I don't know if I'm doing something wrong but it seems to me that the functions PowerMotor_RotationAngle() and SpeedMotor_RotationAngle() need
a positive or negative number for power or speed according to the direction of rotation.
I think it would be helpful if they just used the absolute value since the direction is already given by the angle parameter.
First thing want to say is thank you for creating and maintaining cpp4robots! I'm so happy I can finally program EV3 in c++!

I don't know if I'm doing something wrong but it seems to me that the functions PowerMotor_RotationAngle() and SpeedMotor_RotationAngle() need
a positive or negative number for power or speed according to the direction of rotation.
I think it would be helpful if they just used the absolute value since the direction is already given by the angle parameter.