Skip to content

Commit

Permalink
Merge pull request #121 from decargroup/add_batch_tutorial
Browse files Browse the repository at this point in the history
Add batch tutorial example
  • Loading branch information
mitchellcohen3 authored Jun 11, 2024
2 parents 1dce296 + bf9291d commit 280c685
Show file tree
Hide file tree
Showing 3 changed files with 901 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ All the dependencies should get installed by this command and the package should
2. Toy Problem - Traditional <./tutorial/traditional.ipynb>
3. Toy Problem - Lie groups <./tutorial/lie_groups.ipynb>
4. Specifying Jacobians <./tutorial/jacobians.ipynb>
4. Composite States <./tutorial/composite.ipynb>
4. Composite States <./tutorial/composite.ipynb>
5. Batch Estimation <./tutorial/batch.ipynb>
899 changes: 899 additions & 0 deletions docs/source/tutorial/batch.ipynb

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions navlie/lib/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,6 @@ def __init__(

def evaluate(self, x: CompositeState) -> np.ndarray:
"""Evaluates the measurement model for the landmark state."""

# The pose is always assumed to be the first element
# TODO: is there a better way to do this? The
# Measurement class already hold on to the IDs of these two
# states
pose: MatrixLieGroupState = x.get_state_by_id(self._pose_state_id)
landmark: VectorState = x.get_state_by_id(self._landmark_state_id)

Expand Down

0 comments on commit 280c685

Please sign in to comment.