Irlock/precision landing position in lua scripts

Hi !

I am discovering the use of irlock on sitl Copter. I made a little lua script that changes every ten sec the location of the sim_pld_lat and lon and it worked so my copter moves according to this location.

Now I would like to access the information " PrecLand: Target Found and PrecLand: Init Complete" that we have in the hud in the Lua script but I didn’t find the way to access this.

In the logs we have this message “2023-11-23 11:42:42.47: PL {TimeUS : 2062670435, Heal : 1, TAcq : 1, pX : 1.227272868156433, pY : -0.7829281687736511, vX : -1.2353768348693848, vY : 0.4879986345767975, mX : 1.2373814582824707, mY : -1.0631685256958008, mZ : 1330.001708984375, LastMeasMS : 2062664, EKFOutl : 0, Est : 1}”
with the TAcq = 1 meaning that we have located a target and this is what I would like to use in a next script.

Does anyone knows a way to access this ?

thanks !