Question on landmarks and fixedlagsmoother

39 views
Skip to first unread message

Mike

unread,
Dec 1, 2025, 8:48:53 PMDec 1
to gtsam users
Hello, 

I am working on implementing a VIO solution with GTSAM as the backend, one question I have is how landmark time-stamping and removal would be handled. If I could manually marginalize out landmarks based upon a key that would be easiest but it doesn't look like I can do that - is marginalization strictly time based?

From my understanding, I will need to use the KeyTimestampMap argument to tie landmarks into image timestamps - is this right? From some browsing it appears that when a landmark shows up in the most recent image, I update the landmark timestamp to the image timestamp. This keeps the landmark fresh so the fixed lag smoother won't remove it automatically - is this the correct approach? 

- Michael



Dellaert, Frank

unread,
Dec 18, 2025, 11:32:50 AM (2 days ago) Dec 18
to Mike, gtsam users
Hi Michael

The FixedLagSmoother is really a thin class that implements a strictly time-based marginalization strategy. It has an internal data structure,  mapping measurements to time-stamps. I would not recommend trying to hack that system, but rather -if you need a different marginalization strategy- writing your own class. Read the source code, it's not really that hard :-)

Best
FD

From: gtsam...@googlegroups.com <gtsam...@googlegroups.com> on behalf of Mike <lowel...@gmail.com>
Date: Monday, December 1, 2025 at 8:49 PM
To: gtsam users <gtsam...@googlegroups.com>
Subject: [GTSAM] Question on landmarks and fixedlagsmoother

You don't often get email from lowel...@gmail.com. Learn why this is important
--
You received this message because you are subscribed to the Google Groups "gtsam users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtsam-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gtsam-users/06b2d8fb-0b61-438a-8ed0-acc9b793590bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages