use butter lowpass filter
This commit is contained in:
parent
ac8d1788e4
commit
0bbba5b93f
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 35 KiB |
Binary file not shown.
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
12
euler_ekf.py
12
euler_ekf.py
@ -129,13 +129,13 @@ acceX = normalize_data_vector(acceX, division_param)
|
||||
acceY = normalize_data_vector(acceY, division_param)
|
||||
acceZ = normalize_data_vector(acceZ, division_param)
|
||||
|
||||
# gyroX = butter_lowpass_filter(gyroX, cutoff, fs, order)
|
||||
# gyroY = butter_lowpass_filter(gyroY, cutoff, fs, order)
|
||||
# gyroZ = butter_lowpass_filter(gyroZ, cutoff, fs, order)
|
||||
gyroX = butter_lowpass_filter(gyroX, cutoff, fs, order)
|
||||
gyroY = butter_lowpass_filter(gyroY, cutoff, fs, order)
|
||||
gyroZ = butter_lowpass_filter(gyroZ, cutoff, fs, order)
|
||||
|
||||
# acceX = butter_lowpass_filter(acceX, cutoff, fs, order)
|
||||
# acceY = butter_lowpass_filter(acceY, cutoff, fs, order)
|
||||
# acceZ = butter_lowpass_filter(acceZ, cutoff, fs, order)
|
||||
acceX = butter_lowpass_filter(acceX, cutoff, fs, order)
|
||||
acceY = butter_lowpass_filter(acceY, cutoff, fs, order)
|
||||
acceZ = butter_lowpass_filter(acceZ, cutoff, fs, order)
|
||||
|
||||
gyro_data = [gyroX, gyroY, gyroZ]
|
||||
acce_data = [acceX, acceY, acceZ]
|
||||
|
Loading…
Reference in New Issue
Block a user