I am using ADIS16495 at Internal frequency.
which means 4250 SPS rate of accelerator and gyro. But i want to know at this frequency what will be the update rate of delta angle and delta velocity.
Thank you for your post. Those registers update at the same rate as the gyroscopes and accelerometers: 4250Hz.
Thank you for reply.
when i am using 4250 sample rate getting wrong delta angle and velocity.
but as example, when i set it to 1 sample rate per second then getting approximate right values.
this is my code.
X_DELTA_ANGLE = map_64bit ( IMU_X_DELTA_ANGLE , (-2147483648) ,2147483647 ,(-720) ,720 ) ;
X_Angle += X_DELTA_ANGLE;
i am getting x axis delta angle and converting using map function it angle at every sample. at every sample i will plus it into a variable.
at 4250 sample rate getting wrong angle but at 1 sample rate getting approx right.
Can you quantify what you mean by "wrong" and "approx right," along with the conditions? If you are looking at the angles, are you rotating during your test? If you are using delta velocity, are you using gravity or motion or both? Just trying to make sure that I understand the problem well enough to take helpful action. Thank you!
wrong means when i rotate sensor 90 degree along x axis, in X_Angle variable i got wrong angle. 400 , 589 ,968 degree always increasing.
right approx means, i got approx 90 degree +-2 degree error.
yes i am doing both things. rotating during your test, gravity or motion or both
first i want to measure accurate position of sensor in angle at 2125 sample rate.
Thank you! I wonder if there is some misunderstanding about what these registers actually contain. These registers contain the amount of change in the angle, during a sample period. They do not represent a running accumulation of the angles. Could that be why the 1 sample per second appears to be working "correctly." In other words, are you spinning the entire 90 degrees in less than one second (inside of one sample update)?