Hi! We have a problem when trying to sqaure root our contoller's left and right axis for a nice speed curve. The error message is:
Code:
TypeError: unorderable types: complex() > float()
. I am doing
Code:
self.robot_drive.arcadeDrive(cmath.sqrt(self.joystick.getX()),cmath.sqrt(self.joystick.getX()))
Any help will be greatly appreciated!