Skip to content

Instantly share code, notes, and snippets.

View Robomineboy's full-sized avatar

Sidharth Jain Robomineboy

View GitHub Profile
import numpy as np
def ekf_update(x, P, z, H, R):
"""
Extended Kalman Filter measurement update step.
Fuses IMU quaternion orientation with FSR ground contact data
to refine gait state estimates in real-time.
Args: