I made a custom world in gazebo and saved it to sitl_gazebo/worlds. How to run make px4_sitl with the custom world? I tried make px4_sitl gazebo_iris__[custom world] but it said unknown target.
@Rayhan You need to add the target to
Thanks, that works. Anyway then when I tried to run it, the gazebo stuck on loading “preparing your world” with black blank screen like this.
Is the problem came from my .world file?
Yes, it is most likely that it can’t find resources you included in your world file
place the asset folder in your
/models folder, and update the name of your world in the
Then build px4 by
make px4_sitl gazebo__world
I am not able to find the sitl_target.cmake file in the sitl_gazebo folder
it may have been moved to
PX4-Autopilot/sitl_targets_gazebo.cmake at main · PX4/PX4-Autopilot · GitHub :
I found this file by your help, thanks Benja.
I am trying to find the default configuration file which sets and loads empty.world as default world. Can you help me with that?