hello
i have acceleration measurement from one of the basic Libraries (mpu6050)
and I want to make integral for the velocity and position
thanks
What values do you need in order to do the calculation ?
How would you do the calculation using a calculator ?
Use millis() or micros() to measure time.
And how can I calculate the delta between every measurement?
Have you looked at the Arduino Reference for millis() or micros()?
The basic idea is:
unsigned long start = micros();
do_something();
unsigned long delta = micros() - start;
I have tired to do it with this and it dose not work
Do you have any idea to make integral with different way?
No idea, because you forgot to post any information about what you tried, what you expected to happen and what happened instead.
Take a few minutes to read the instructions in the "How to get the best out of the forum" post, then follow those instructions.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.