Bart Gallet
unread,Feb 13, 2023, 4:29:48 PM2/13/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gtsam users
Howdy folks,
Does GTSAM have the ability to declare a variable, such that this variable doesn't necessarily belong to a particular factor, but it takes part in certain type of factors?
For instance, in Ceres I can add a variable through addParameterBlock(), and then I can access this variable from a particular factor (e.g. passing a pointer via a functor).
In Ceres, I am using a parameter block to represent the pose of the NED origin in order to transform GPS measurements from lat/lon/alt to xyz, via that NED frame. Then my GPS factors implicitly use this transform.
In GTSAM I am getting around this by actually explicitly representing the location of the NED frame as a node in the pose graph, and my GPS factors now become binary factors between that NED node and the node to which the GPS measurements belong. It's not ideal.
It would be nice if I could do something similar as I was doing in Ceres. Is there some functionality in GTSAM that can achieve something similar?
Cheers
Bart