Enhancement Request: Log Directory per model
Would it be possible to store a parameter in the APM/PIXHAWK called "MODEL_NAME" or something of the like, and then expose that as a variable to Mission Planner for purposes of customizing the Log directory as well as the name of the aircraft when saving .param files.
We could then, in Planner, make our log directory something like C:\MPLogs%MODEL_NAME\blah.tlog so that later review is easier when searching for a flight of a specific model rather than having to open a bunch of them to find the right one. I currently have between .log, .tlog, rlog (??) and gpx and kmz files 593 objects in my log directory that I've given up on trying to sort.
Hoping this could be in the base code somewhere so that it is available in all types of firmware (Copter, Plane, Rover..)
I've tried to remember to switch my log directory before each connect, but I forget roughly 99.99999924% of the time.
Thanks! Josh
You can already set a unique system id. It would be good to decode that to a model name in the GCS
Oh can you? I can't find anything in the full param list, maybe I'm just missing it. Can you point me in the right direction?
That would really help to sort the .log jam. This feeds into my issue #143 https://github.com/diydrones/MissionPlanner/issues/143 This is a request for a log browser that can function like a database for logs by looking inside and listing important information like dates, times, length of flight, max altitude, aircraft type, whatever... You could choose the data you want and sort as you wish. This would be like iTunes does for media. A way to peer inside the logs without having to open them for a full analysis.
This one http://copter.ardupilot.com/wiki/arducopter-parameters/#Mavlink_version_ArduCopterSYSID_THISMAV
It just identifies the MAV in the MAVlink protocol
Oh yeah, that's not what I need. I need per model as I have several quads and several planes. This would just show me plane vs rover vs copter if I understand it correctly. I want to label a parameter with my nickname of the model, such as "Skywalker X8" or "QAV500G" etc..
It identifies the system. By assigning a new number to each autopilot we can fly more than one on the same GCS. For each model if you assigned a ID number. You will always know. It easy to add a feature in the GCS to show a pretty name
The newest version of MP sorts the .tlog files into 3 folders: FIXED_WING, GENERIC, and QUADROTOR. Upon installing the new firmware all my old .tlogs were automatically sorted into these 3 folders. All of my matching .log, .kmz, etc were left in the root folder. Strangely my Skywalker old .tlogs were split between Fixed_Wing and Generic. What is Generic? I think this change was related to this posted issue, but it doesn't really address the problem and creates new ones. I would prefer that all my .tlogs stay in one folder so they can be sorted by date along with my .log, .kmz, .txt, etc. Organization can be much better utilizing a simple database application that would look inside each log and allow sorting by key defining data types like Max_Alt, Max_Spd, Duration, Trip Distance, etc.
EDIT: Sorry, I just read my earlier post and saw that I'm being repetitive. I would still like to hear more about what Generic means.
the skywalker logs will be because they where with different ardupilot versions.
please set param SYSID_THISMAV to a different number for each of your models in there class (plane,copter), as this is what the seconds level folder is.