gtsam/cpp/Pose2Config.h

29 lines
585 B
C
Raw Normal View History

/**
* @file Pose2Config.cpp
* @brief Configuration of 2D poses
* @author Frank Dellaert
*/
2009-12-11 07:45:38 +08:00
#pragma once
2009-12-10 03:55:25 +08:00
#include "Pose2.h"
#include "LieConfig.h"
namespace gtsam {
/**
* Pose2Config is now simply a typedef
*/
2010-01-14 06:25:03 +08:00
typedef LieConfig<Symbol<Pose2,'x'>,Pose2> Pose2Config;
2009-12-10 03:55:25 +08:00
2010-01-10 23:46:18 +08:00
/**
* Create a circle of n 2D poses tangent to circle of radius R, first pose at (R,0)
* @param n number of poses
* @param R radius of circle
* @param c character to use for keys
* @return circle of n 2D poses
*/
2010-01-14 06:25:03 +08:00
Pose2Config pose2Circle(size_t n, double R);
2010-01-10 23:46:18 +08:00
2009-12-10 03:55:25 +08:00
} // namespace