Create custom airframe for SITL

Hi everyone,

I’m currently working on a project where I need to simulate a hexacopter using PX4 SITL. I’ve created a custom airframe configuration based on the default ones (e.g., none_iris), but I’m facing issues when trying to load my custom configuration.

Problem:

I created a custom airframe file, 6001_none_hexa, to simulate a hexacopter with an X configuration. However, when I run the following command:

make px4_sitl_default none_hexa

The PX4 stack doesn’t seem to recognize the custom airframe, and I’m not able to launch the simulation correctly.

Step

  • I created a file named 6001_none_hexa and placed it in the correct directory:
PX4-Autopilot/ROMFS/px4fmu_common/init.d-posix/

:red_question_mark: QUESTION:

Can someone help me with further steps to make this possible?

Thanks in advance

Do some grepping for how it is done for another airframe. That will show you that you might have to add it here as well: