Skip to content

Commit a0b5ae3

Browse files
committed
Update AprilTags4Corners
1 parent ed919d0 commit a0b5ae3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/navability/entities/Factor.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ export function Pose2Pose2Data(mus = [1, 0, 0.3333 * PI], sigmas = [0.01, 0.01,
7474
}
7575

7676
export function Pose2AprilTag4CornersData(
77-
id: string,
78-
corners: any,
79-
homography: any,
80-
K = [300.0, 0.0, 0.0, 0.0, 300.0, 0.0, 180.0, 120.0, 1.0],
81-
taglength = 0.25,
77+
id:number,
78+
corners: number[],
79+
homography: number[],
80+
K: number[] = [300.0, 0.0, 0.0, 0.0, 300.0, 0.0, 180.0, 120.0, 1.0],
81+
taglength: number = 0.25,
8282
): FactorData {
8383
const fnc = {
84-
mimeType: '/application/JuliaLang/PackedPose2AprilTag4Corners',
84+
_type: "/application/JuliaLang/PackedPose2AprilTag4Corners",
8585
corners,
8686
homography,
8787
K,

0 commit comments

Comments
 (0)