Pose2Config constructor
parent
072dea81b0
commit
e0274dab59
|
@ -4,7 +4,11 @@
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
class Pose2Config: public std::map<std::string, Pose2> {
|
class Pose2Config: public std::map<std::string, Pose2> {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Pose2Config() {}
|
||||||
|
|
||||||
Pose2 get(std::string key) const {
|
Pose2 get(std::string key) const {
|
||||||
std::map<std::string, Pose2>::const_iterator it = find(key);
|
std::map<std::string, Pose2>::const_iterator it = find(key);
|
||||||
if (it == end())
|
if (it == end())
|
||||||
|
|
|
@ -174,6 +174,7 @@ class Pose2{
|
||||||
};
|
};
|
||||||
|
|
||||||
class Pose2Config{
|
class Pose2Config{
|
||||||
|
Pose2Config();
|
||||||
Pose2 get(string key) const;
|
Pose2 get(string key) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue