dpapworth
(D Papworth)
October 18, 2022, 2:00am
1
Hello,
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.
dpapworth
(D Papworth)
October 19, 2022, 5:30am
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.
dpapworth
(D Papworth)
October 20, 2022, 3:16am
5
Thank you - I’m not great with github navigation, but I’ll have to see if I can find it.
1 Like
ArduPilot:master
← IamPete1:fence-log
opened 12:12AM - 11 Oct 21 UTC
Currently there is no record of any loaded fence in the log. This adds a message… writer like those for rally and mission.
Fixes #20213
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.
dpapworth
(D Papworth)
October 22, 2022, 3:21am
8
Fantastic! Thanks for finding this for me.
1 Like