diff --git a/cpp/Pose2.h b/cpp/Pose2.h index 366b30e5c..d3d267052 100644 --- a/cpp/Pose2.h +++ b/cpp/Pose2.h @@ -32,7 +32,12 @@ namespace gtsam { 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) : x_(x), y_(y), theta_(theta) { } diff --git a/cpp/SimpleCamera.h b/cpp/SimpleCamera.h index 58099c853..cc9755b22 100644 --- a/cpp/SimpleCamera.h +++ b/cpp/SimpleCamera.h @@ -41,6 +41,8 @@ namespace gtsam { /** * 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);