Skip to content

ADD: Implement measure function for IMU#56

Open
Helenh22 wants to merge 1 commit into
virtual-sensorsfrom
IMU-measure-function
Open

ADD: Implement measure function for IMU#56
Helenh22 wants to merge 1 commit into
virtual-sensorsfrom
IMU-measure-function

Conversation

@Helenh22

@Helenh22 Helenh22 commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Added measurement function for IMU from Shankgeeth and Helen.

Added measurement function for IMU from Shankgeeth and Helen.
@Helenh22 Helenh22 changed the title Implement measure function for IMU ADD: Implement measure function for IMU Jul 4, 2026
noise_std = noise_var ** 0.5
random_bias = np.random.normal(0.0, noise_std, size=3)

self._gauss_markov += alpha * self._gauss_markov + random_bias

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have concerns about how this will work within the simulation. Some integrators (like RK45, which is likely to get used) evaluate dynamics multiple times before committing to a step. Because of this, we'll be accumulating terms in self._gauss_markov during trial steps, inflating the rate at which the IMU noise is evolving. I think we'll need to make this explicitly depend on the simulation time (or some time since turn-on value).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I believe this should just be an =. You're already multiplying the state by alpha, which should capture the evolution. Correct me if I'm wrong though, it's been a minute since I've looked at this stuff in detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants