Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSM303DLH_CalculationZAxisAngle 疑问 #11

Open
Lingxicheng opened this issue Jan 9, 2025 · 0 comments
Open

LSM303DLH_CalculationZAxisAngle 疑问 #11

Lingxicheng opened this issue Jan 9, 2025 · 0 comments

Comments

@Lingxicheng
Copy link

image
请问,这个函数作用是什么,另外输入的三个坐标分量,指的是角加速度,还是其他的,能否解释下这段代码

	A = fx*fx+fy*fy;
	A = sqrt(A);
	A = (double)A/fz;
	A = atan(A); 
···
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant