|
Re: Python: TypeError: unorderable types: complex() > float()?
Shot in the dark guess: taking the square root of getX(), which can sometimes be negative, will give you an imaginary value. You need some way to avoid that and only produce real numbers for arcadeDrive().
__________________
2015-present: FTC 10723 mentor
2012-present: 857 mentor
2008-2011: 857 student
2015: Industrial Design, Excellence in Engineering, District Finalist, Archimedes Division (#6 alliance captain)
2014: Judges Award, District Engineering Inspiration, District Finalist, Galileo Division
|