|
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement C:\Users\pan\Desktop\update too\main.c 86
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement C:\Users\pan\Desktop\update too\main.c 87
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement C:\Users\pan\Desktop\update too\main.c 92
这个警告是什么意思呢?
roll = atan2(sesors_accel_y,sesors_accel_z);
pitch = atan2(-sesors_accel_x, sesors_accel_z);
kalman_output = kalman_update(navigation_roll_rate, roll);
在上面三处出现的!
该怎么解决呢? |
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|