PX4-Autopilot: Hard-fault in NuttX?

Describe the bug We flew in position control testing some of the collision prevention capabilities (together with the avoidance on the companion), when suddenly the drone fell out of the sky.

Log Files and Screenshots Firmware: 2ebb9d Logfile .elf file

Drone : Quad X racer, with a pixracer

My hard-fault debugging skills are severely limited, best I could tell is that it seemed to come from fs_poll.c, but I wouldn’t trust myself about that. Maybe @bkueng or @julianoes are more qualified to debug this?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 32 (32 by maintainers)

Most upvoted comments

@cmic0 Just an FYI there is a default of 1024. So it is not wrong per se, but my not be adequate @dagar we should look at the what the minimum should now be with the added call layering in Nuttx of xxx() -> nx_xxx()

No it doesn’t. That increases stack for one module, you need to increase it for the pmw driver.