I added my custom world env to Tools/simulation/gz/worlds and I opened the sdf file using my gz sim and it works, now using make px4_sitl gz_x500_ionic(ionic is my custom world) gives the error of
ninja: error: unknown target ‘gz_x500_ionic’
make: *** [Makefile:232: px4_sitl] Error 1
(it does work when I use px4_sitl gz_x500_baylands for instance)The gazebo world and drone do spawn in gazebo when I run PX4_GZ_WORLD=ionic make px4_sitl gz_x500_depthbut the preflight checks keeps failing and it never becomes ready for takeoff which isn’t custom world specific but doesn’t work with existing world environments either.