I wrote a new application in folder src/examples/my_simple_app. The codes are copied from official website. I add the path into some cmake file, but it cannot be compiled. The problem doesn't happen when i am using predefined path like px4_simple_app, though.
What's the correct way to write applications of my own? Anybody has a better tutorial for that?