tizianofiorenzani / how_do_drones_work

A collection of scripts from my totorials
BSD 3-Clause "New" or "Revised" License
315 stars 281 forks source link

problem in aruco_pose_estimation #22

Open c1p81 opened 2 years ago

c1p81 commented 2 years ago

in aruco_pose_estimation.py file a think there is a typo on line 144 roll_marker, pitch_marker, yaw_marker = rotationMatrixToEulerAngles(R_flipR_tc) i think must be (flipped last 2 chars) roll_marker, pitch_marker, yaw_marker = rotationMatrixToEulerAngles(R_flipR_ct) otherwise i have this errore NameError: name 'R_tc' is not defined

tizianofiorenzani commented 2 years ago

You mean here? https://github.com/tizianofiorenzani/how_do_drones_work/blob/master/opencv/aruco_pose_estimation.py#L144

image

c1p81 commented 2 years ago

I'm very sorry.. checking my code the typo was in my source