I am looking for a lighthouse paramteter that I can use to determine if both lighthouses cannot see the cf. (in order to immediately land the cf after a certain number of secods of lost tracking)
I acknowledge that this may be a little more complicated that just choosing one parameter (perhaps due to whether or not the systemis using raw seeps or crossing beams, to be honest I do not know how to tell which one the cf is using)
I have tried loggin the x, y, z, from the lighthouse paramter (hoping that they would be nan when they do no see a beam) but all I got was 0.0? They were also 0 in the plotter.
code below....
Code: Select all
lg_stab = LogConfig(name='lighthouse', period_in_ms=100)
lg_stab.add_variable('lighthouse.x', 'float')
lg_stab.add_variable('lighthouse.y', 'float')
lg_stab.add_variable('lighthouse.z', 'float')