apriltag_pose.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef __cplusplus
4
extern
"C"
{
5
#endif
6
7
8
#include "
apriltag.h
"
9
#include "
common/matd.h
"
10
11
typedef
struct
{
12
apriltag_detection_t
*
det
;
13
double
tagsize
;
// In meters.
14
double
fx
;
// In pixels.
15
double
fy
;
// In pixels.
16
double
cx
;
// In pixels.
17
double
cy
;
// In pixels.
18
}
apriltag_detection_info_t
;
19
25
typedef
struct
{
26
matd_t
*
R
;
// Rotation matrix 3x3 of doubles.
27
matd_t
*
t
;
// Translation matrix 3x1 of doubles.
28
}
apriltag_pose_t
;
29
34
void
estimate_pose_for_tag_homography
(
35
apriltag_detection_info_t
* info,
36
apriltag_pose_t
* pose);
37
60
void
estimate_tag_pose_orthogonal_iteration
(
61
apriltag_detection_info_t
* info,
62
double
* err1,
63
apriltag_pose_t
* pose1,
64
double
* err2,
65
apriltag_pose_t
* pose2,
66
int
nIters);
67
75
double
estimate_tag_pose
(
apriltag_detection_info_t
* info,
apriltag_pose_t
* pose);
76
77
#ifdef __cplusplus
78
}
79
#endif
matd_t
Definition:
matd.h:45
apriltag_detection_info_t::det
apriltag_detection_t * det
Definition:
apriltag_pose.h:12
matd.h
apriltag.h
apriltag_pose_t
Definition:
apriltag_pose.h:25
apriltag_pose_t::t
matd_t * t
Definition:
apriltag_pose.h:27
apriltag_pose_t::R
matd_t * R
Definition:
apriltag_pose.h:26
apriltag_detection_info_t::fy
double fy
Definition:
apriltag_pose.h:15
apriltag_detection_info_t
Definition:
apriltag_pose.h:11
apriltag_detection_info_t::fx
double fx
Definition:
apriltag_pose.h:14
estimate_tag_pose
double estimate_tag_pose(apriltag_detection_info_t *info, apriltag_pose_t *pose)
Definition:
apriltag_pose.c:528
estimate_pose_for_tag_homography
void estimate_pose_for_tag_homography(apriltag_detection_info_t *info, apriltag_pose_t *pose)
Definition:
apriltag_pose.c:455
apriltag_detection_info_t::cx
double cx
Definition:
apriltag_pose.h:16
apriltag_detection
Definition:
apriltag.h:196
apriltag_detection_info_t::cy
double cy
Definition:
apriltag_pose.h:17
apriltag_detection_info_t::tagsize
double tagsize
Definition:
apriltag_pose.h:13
estimate_tag_pose_orthogonal_iteration
void estimate_tag_pose_orthogonal_iteration(apriltag_detection_info_t *info, double *err1, apriltag_pose_t *pose1, double *err2, apriltag_pose_t *pose2, int nIters)
Definition:
apriltag_pose.c:490
apriltag
Author(s): Edwin Olson
, Max Krogius
autogenerated on Sun Apr 20 2025 02:08:19