add comments
parent
bc7717d5ab
commit
597af891cb
|
@ -32,7 +32,12 @@ namespace gtsam {
|
||||||
x_(pose.x_), y_(pose.y_), theta_(pose.theta_) {
|
x_(pose.x_), y_(pose.y_), theta_(pose.theta_) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** construct from (x,y,theta) */
|
/**
|
||||||
|
* construct from (x,y,theta)
|
||||||
|
* @param x x oordinate
|
||||||
|
* @param y y coordinate
|
||||||
|
* @param theta angle with positive X-axis
|
||||||
|
*/
|
||||||
Pose2(double x, double y, double theta) :
|
Pose2(double x, double y, double theta) :
|
||||||
x_(x), y_(y), theta_(theta) {
|
x_(x), y_(y), theta_(theta) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,8 @@ namespace gtsam {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a level camera at the given 2D pose and height
|
* Create a level camera at the given 2D pose and height
|
||||||
|
* @param pose2 specifies the location and viewing direction
|
||||||
|
* (theta 0 = looking in direction of positive X axis)
|
||||||
*/
|
*/
|
||||||
static SimpleCamera level(const Cal3_S2& K, const Pose2& pose2, double height);
|
static SimpleCamera level(const Cal3_S2& K, const Pose2& pose2, double height);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue