How to check that Gazebo successfully loaded world and all models?
Is there a way to programatically confirm that Gazebo successfully loaded all models apart from parsing Gazebo output in vebose mode? I tried "breaking" one model by specifying invalid path to visual mesh, and I still see the model in GUI under "Models" list (used Gazebo 9.13). I also tried to query rostopic echo -n 1 /gazebo/model_states
and the model is there.
When starting with "--verbose" flag Gazebo prints "[Wrn] [SystemPaths.cc:464] File or path does not exist" and "[Err] [Visual.cc:3034] No mesh specified" in console. Is it possible to make Gazebo not add "incomplete" models and treat them as invalid?