Add test_DCSAM.py and HybridInference.ipynb example notebook#2469
Add test_DCSAM.py and HybridInference.ipynb example notebook#2469Copilot wants to merge 3 commits intofix-examplesfrom
Conversation
Co-authored-by: dellaert <10515273+dellaert@users.noreply.github.com>
|
@copilot the discrete only and continuous only examples are of less interest. I like the octagon, though. Can we just create one example, an octagon with switching motion models? |
|
@dellaert The model You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
dellaert
left a comment
There was a problem hiding this comment.
the discrete only and continuous only examples are of less interest. I like the octagon, though. Can we just create one example, an octagon with switching motion models?
Adds Python-level coverage for
DCSAMand a user-facing hybrid inference tutorial, both missing from the current codebase.python/gtsam/tests/test_DCSAM.pyFive unit tests translated from
gtsam/hybrid/tests/testDCSAM.cpp:test_constructorISAM2Params-based constructiontest_simple_discreteDecisionTreeFactortest_simple_mixture_factorHybridNonlinearFactorwith log-normalisation constants; verifies tighter-prior mode winstest_simple_slam_batchtest_simple_slam_incrementalpython/gtsam/examples/HybridInference.ipynbThree-part tutorial notebook:
DecisionTreeFactorMPE viaDCSAMDCSAMas thin iSAM2 wrapper for Pose2 odometryHybridNonlinearFactor; demonstrates joint pose + discrete mode estimation with matplotlib visualisation📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.