Closed gitouni closed 1 year ago
So far for auto differentiation I only had the chance to implement it for statically sized error functions (edges and vertices). Hence, I put the static_assert in the code to catch those cases during compile time. In principle, g2o supports variable sized error functions/edges but not in combination with AD.
Got it, thanks!
Question
I have known that the latest g2o has supported variable size vertex. Has g2o supported variable sized edge? For example, can I defeine a variable size edge with
g2o::VectorX
type?Environment
Trial
Error (Thrown Runtime)
Other Trials
I also tried to change the first template arg of Edge Class to
-1
but g++ throwed an error during compiling.I appreciate your reply.