HI, I am trying to download a dataflash log, but I keep getting the result that no dataflash logs exist.
My process is arming the vehicle, giving the vehicle a few commands, and then disarming. After disarming, I try to download the dataflash log through Mavlink using Missionplanner, and each time get told that no logs exist.
By default the logs are not recorded until launch. If you want to record logs right after power up there is a parameter called:
LOG_DISARMED: Enable logging while disarmed
If LOG_DISARMED is set to 1 then logging will be enabled while disarmed. This can make for very large logfiles but can help a lot when tracking down startup issues
Values
Value Meaning
0 Disabled
1 Enabled
Actually I see you are arming. Check your logging level and make sure it includes what you want to watch.
Indeed.
The LOG_BITMASK parameter controls what message types are recorded in the dataflash. Recent versions of the mission planner and ArduPilot allow individual messages to be enabled/disabled from the MP’s Config/Tuning, Standard Params screen.
It begs the question what version of Ardupilot are you running for which vehicle? Also if your SD has problems you may not get logs at all. Try a different one formatted to fat32.