Hello.
I’m trying to add my custom module for the PX4 autopilot. Everything is fine if I add it inside the PX4 tree (i.e. next to src/examples/px4_simple_app), however I’d like to have it in separate folder and build the autopilot using EXTERNAL_MODULES_LOCATION flag.
I encounter the following error while building:
fatal error: iostream: No such file or directory
40 | #include <iostream>
I believe that it is built as C++ code, since I can add classes in it. Also it builds successfully for target px4_stil, but not for px4_fmu-v3_default.
Would be happy for any advice,
Kind regards,
Vahe