QAtan2 result is always one
The code above is working perfectly
But below code is not working .
below code is in the if statement while above is another statement
I have checked ps_max.....value always get changed and also value of urt is changed too.
BUT spe is always equal to 1. Why?
both declaration of spe and theta are same. BUT why result of spe doesnt changing?
qxoz: code tags added
you should post all code.
over 1000 rows of code i have kk
No all code; only the part where you use qAtan2.
Anyway i suggest to use qDebug to print Input/Output parameters of qAtan2