Last active
September 15, 2019 18:51
-
-
Save cotramarko/1eea9bcbef3b0f3e12262e245fb196c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pseudo code in Python of how the sensor fusion predict-update loop could look like | |
sf_algo = SFalgo(motion_model, measurement_model) | |
for (i, y) in enumerate(measurements): | |
if i == 0: | |
pred = sf_algo.predict(prior) | |
post = sf_algo.update(y, pred) | |
else: | |
pred = sf_algo.predict(post) | |
post = sf_algo.update(y, pred) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you show your SFalgo function code?