2010-01-02 18:33:33 +08:00
|
|
|
/**
|
2010-01-11 02:20:10 +08:00
|
|
|
* @file Pose2Config.cpp
|
2010-01-11 00:17:55 +08:00
|
|
|
* @brief Configuration of 2D poses
|
2010-01-02 18:33:33 +08:00
|
|
|
* @author Frank Dellaert
|
|
|
|
*/
|
|
|
|
|
2009-12-11 07:45:38 +08:00
|
|
|
#pragma once
|
|
|
|
|
2009-12-10 03:55:25 +08:00
|
|
|
#include "Pose2.h"
|
2010-01-11 00:17:55 +08:00
|
|
|
#include "LieConfig.h"
|
2009-12-17 05:40:41 +08:00
|
|
|
|
2010-01-02 18:33:33 +08:00
|
|
|
namespace gtsam {
|
|
|
|
|
2010-01-08 08:40:17 +08:00
|
|
|
/**
|
2010-01-11 00:17:55 +08:00
|
|
|
* Pose2Config is now simply a typedef
|
2010-01-08 08:40:17 +08:00
|
|
|
*/
|
2010-01-11 00:17:55 +08:00
|
|
|
typedef LieConfig<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
|
|
|
|
*/
|
|
|
|
Pose2Config pose2Circle(size_t n, double R, char c = 'p');
|
|
|
|
|
2009-12-10 03:55:25 +08:00
|
|
|
} // namespace
|