Log files contain lots of information regarding a persons location and activities that they may want to remain private. How about a function in Mission Planner that anonymises the data in the log file for publication (say for posting on a forum when troubleshooting)? Adding a random offset to location data and times would be a good option that would preserve data for analytical purposes but remove information that may identify the person who published it.
Take the .LOG file( It’s easier to use) andd remove or offset all the location data (GPS) etc… A small script can achieve that quite easily I believe.
Or, maybe just don’t fly illegally ?
Privacy isn’t just for criminals.
Andre-K, I’m sure that the facility I’m recommending would be used as you suggest however I operate rovers and have tested various functionalities I’m working on at a number of locations that are commercially sensitive (with full permission). At times I have not shared log files when diagnosing possible problems with the Rover.code because of this. It is not a big issue for me and as pointed out, I could write a script myself but I thought that others would benefit from having the facility integrated in their GCS. There is a good bit of anti-drone sentiment out there and a ready source of ‘home’ coordinates might well be miss used by someone with less than goodly intention…
if your happy to help me test something, I do have code to do this. the issue is there are a posiblity a new message added into the future could not be filtered correctly.
Happy to help. With regard to future additions perhaps we could suggest a pseudo standard where fields are flagged using a prefix or suffix in the PARAM data? Or with a bit more effort, allow the user to flag the fields prior to generating the ‘anonymized’ version, or both… There must be some straight forward way to ensure that all sensitive data is masked?
to give you an idea.
this is the list for a tlog
in the latest beta mp
in the control-f screen
there is a anon log button.
give that a try.
I need this functionality to get some help with tuning on forums, and cannot share the location data due to legitimate sensitivities. I tried the anon log function but the log it produced still contains location data including flight path and waypoints. Have I misunderstood the purpose of the tool?
It should move the flight path. Not remove it. Ie check the coords of the new log. They should be at a random location
Thanks, unfortunately the locations look to be unchanged, either for flight path or waypoints!
which message was the same if you manually inspect the log? ill try resolve this issue
I can’t see any differences in any AHR2, GPS, POS, TERR, CMD, ORGN lines, all of which contain location data.
I’ve tried using the .bin and the .log as the source, neither makes the necessary changes in the output.
The only differences I can see in the files *.log and *anon.log are to messages EV and ERR (text added to end of line for both) and MSG (colons to commas)
This is MP 1.3.74 and log is from Arducopter 4.0.3.
I second this issue. The GPS(and GPS2).lat and .lng are both unchanged by the anon log feature.
@Michael_Oborne I sent in a PR to fix this, https://github.com/ArduPilot/MissionPlanner/pull/2502
Thanks for the work on this. I’ve tried the beta version of Mission Planner, and I think it is now randomly shifting the latitude as intended, but I don’t think it is changing the longitude.
yes thats correct, it only shifted on one axis.
Is that intended functionality? From a privacy point of view it would be better to shift both…
ive just pushed a new beta that moves the longitude as well