diff --git a/GTSAM-Concepts.md b/GTSAM-Concepts.md index 9b848bf51..c22563168 100644 --- a/GTSAM-Concepts.md +++ b/GTSAM-Concepts.md @@ -102,14 +102,30 @@ Examples An example of implementing a Manifold is here: + // GTSAM type + class Rot2 { + ... + class Chart { + ... + } + } namespace gtsam { namespace traits { - // types: - template - struct SomeAssociatedType::type - + template<> + struct DefaultChart { + typedef Rot2::Chart type; + } + + template<> + struct Manifold { + typedef Rot2 type; + } + + template<> + struct Vector { + typedef Vector2 type; } }