/** * @file Pose3Factor.H * @authors Frank Dellaert, Viorela Ila **/ #pragma once #include #include "BetweenFactor.h" #include "Pose3.h" namespace gtsam { /** * A config specifically for 3D poses */ class Pose3Config: public std::map { public: const Pose3& get(std::string key) const { const_iterator it = find(key); if (it == end()) throw std::invalid_argument("invalid key"); return it->second; } }; /** * A Factor for 3D pose measurements * This is just a typedef now */ typedef BetweenFactor Pose3Factor; } /// namespace gtsam