Pull geofence from dataflash log?


Does anyone know if it is possible to essentially “reconstruct” a geofence that was present during a flight from a dataflash log (or tlog) of the aircraft that had the geofence written to it? Would it be possible to extract the geofence somehow and/or determine if a fence breach was regarding a circle fence, min_alt, max_alt, et. what type of fence was breached?

If I am not mistaken, there is someone already working on it. It was planned to be integrated to master on Copter version 4.3.

That’s great news - I’ll try to keep an eye on the release notes.

I hadn’t find here the exactly pull request, but I think you can find it and check its status inside ardupilot github repository.

Thank you - I’m not great with github navigation, but I’ll have to see if I can find it.

1 Like

And good news, it was recently merged into master! Maybe the latest release or the next one will already have this feature.

It was commited to master in the same day that Randy released ArduCopter v4.2.3, so I guess it will be available in a new release soon.

Fantastic! Thanks for finding this for me.

1 Like