From 66e1baa94c0559a0b4f29410710ee8eebafb8421 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sun, 12 Sep 2021 21:20:11 +0100 Subject: [PATCH] AP_IRLock_I2C: add comment on calibration equation --- libraries/AP_IRLock/AP_IRLock_I2C.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_IRLock/AP_IRLock_I2C.cpp b/libraries/AP_IRLock/AP_IRLock_I2C.cpp index 69a3be97a4..977c1e37d9 100644 --- a/libraries/AP_IRLock/AP_IRLock_I2C.cpp +++ b/libraries/AP_IRLock/AP_IRLock_I2C.cpp @@ -80,6 +80,7 @@ bool AP_IRLock_I2C::sync_frame_start(void) /* converts IRLOCK pixels to a position on a normal plane 1m in front of the lens based on a characterization of IR-LOCK with the standard lens, focused such that 2.38mm of threads are exposed + see: https://github.com/ArduPilot/ardupilot/issues/5232 and https://gist.github.com/jschall/eac130ed9d6e5dcd9ce582f3eeeb3071 */ void AP_IRLock_I2C::pixel_to_1M_plane(float pix_x, float pix_y, float &ret_x, float &ret_y) {