Post Created date
How do I find out the “dt” in the complementary filter?
ka7ehk wrote: Note the zero offsets for rotational velocity. Those need correction, also. Hi Jim, Yes, i did get 100 of the gyroscope data to correct the offset but its still have...
Sunday, 12 May 2019 - 12:16
How do I find out the “dt” in the complementary filter?
def read_GyroscopeScaled(xAccelRotation,yAccelRotation): # MPU-6000 address, 0x68(104) # Read data back from 0x43(67), 6 bytes # Gyrometer X-Axis MSB, X-Axis LSB, Y-Axis MSB, Y-...
Saturday, 11 May 2019 - 16:39
How do I find out the “dt” in the complementary filter?
Kartman wrote:Why not ask the author? I can’t help but think you are missing some fundamental knowlege. You seem to obsess about things that are most likely the least of your...
Thursday, 9 May 2019 - 13:51
How do I find out the “dt” in the complementary filter?
Ok, to be honest so far i only knew that "dt" in this case can be refer to the sampling rate. The author just set the "dt" as 0.01 and i know this is because the...
Thursday, 9 May 2019 - 11:38
How do I find out the “dt” in the complementary filter?
Kartman wrote:The OP stated he’s using a raspberry pi. Unfortunately with linux real time performance is not guaranteed, so if you want consistent results from your sensor, then...
Thursday, 9 May 2019 - 09:42
How do I find out the “dt” in the complementary filter?
ka7ehk wrote: Point is: You need to have a better number than "roughly". That comes from having something predictable, like a timer, tell when to take each reading. Jim Hi Jim,...
Thursday, 9 May 2019 - 09:40
How do I find out the “dt” in the complementary filter?
  clawson wrote: Give in and learn how to program the timers (and interrupts) in your micro. Hi clawson, Right, below are the results i get by using the timers and...
Wednesday, 8 May 2019 - 18:09
How do I find out the “dt” in the complementary filter?
avr-mike wrote: Are you using an AVR microcontroller?  If so, which one?   On an AVR you would want to look at the CTC mode for a timer (Clear-Timer-on-Compare-match)...
Wednesday, 8 May 2019 - 18:07
How do I find out the “dt” in the complementary filter?
ka7ehk wrote: There are two criteria for setting the interval. First, it must be longer than the time it takes to gather (e.g. read) and process the data. Second, it must be short...
Wednesday, 8 May 2019 - 18:02
How do I find out the “dt” in the complementary filter?
clawson wrote: 100Hz == 10ms   What it's saying is that you take readings every 10ms (so a timer interrupt sounds like a plan) and then feed the "new readings" into your...
Wednesday, 8 May 2019 - 17:46
How do I find out the “dt” in the complementary filter?
clawson wrote: The page you linked to in #1 even contains (though it says "don't just use this"!) the code: #define dt 0.01 // 10 ms sample rate! So it's pretty clear...
Wednesday, 8 May 2019 - 15:07
How do I find out the “dt” in the complementary filter?
jpmargis wrote: dt = delta time.  How often do you read the data?  That's dt. Hi jpmargis, I am reading the data constantly so is there any method that i can get the "...
Wednesday, 8 May 2019 - 14:56

Pages