Skip to content

Commit

Permalink
Merge pull request #279 from Lecrapouille/master
Browse files Browse the repository at this point in the history
Document the meaning of apriltag_pose_t struct
  • Loading branch information
christian-rauch authored Jun 14, 2023
2 parents df4aee5 + f21c951 commit ed85cbc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions apriltag_pose.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ typedef struct {
double cy; // In pixels.
} apriltag_detection_info_t;

/**
* This struct holds the transformation from the camera optical frame to
* the April tag frame. The pose refers to the position of the tag within
* the camera frame.
*/
typedef struct {
matd_t* R;
matd_t* t;
matd_t* R; // Rotation matrix 3x3 of doubles.
matd_t* t; // Translation matrix 3x1 of doubles.
} apriltag_pose_t;

/**
Expand Down

0 comments on commit ed85cbc

Please sign in to comment.