Trigger Button feature request Pixhawk

Hi Guys

I have had a lot of problems with the SD card corrupting on my Pixhawk. 4 out of 5 times yesterday I flew then turned off the system only to find the pixhawk wouldn't boot with the SOS tones.

To recover I had to mount the SD card in my Mac to fix the filesystem. All good after that but had to do it each time.

I understand that the FAT filesystem is fragile and that other are having the issue. Can we use the arm trigger button on the Pixhawk to flush and close the log file. Some thing like this:

Connect Battery.

Hold arm button to get things going

Arm and fly

Land

Press the arm button again to disable ESCs but also send a signal to Nutex or Pixhawk code to flush and close log.

Just a thought.

MK

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    This has been fixed in the latest releases. If you press the 'safety button' (it's not called the arm button, as it does not arm the vehicle) it will flush the buffers. Also the buffer sizes have been increased and writing happens less often, to avoid corruption.

  • I also experienced the same thing.

    I already formated the SD card and the problem was gone for a few flight.

    The one day it repeated, so I took the SD card and deleted all the logs from it.

    Had only 4 flights since, but the problem didn't repeat itself

    I'll let you know if it does.

  • Moderator
    What firmware version are you running?
    There have been several enhancements introduced in the latest copter and plane to log only while armed. As such, one should disarm before powering down, reducing the likelihood of file system corruption. Also, 3DR has changed its supply chain for microSD. I believe they now ship with Kingston cards.
This reply was deleted.

Activity