ArduPilot / SITL_Models

Models of aircraft for SITL
71 stars 110 forks source link

Error Code 14: Msg: Parser configurations requested resolved uris, but uri [file://media/materials/scripts/gazebo.material] could not be resolved. #135

Closed LaneaLucy closed 2 weeks ago

LaneaLucy commented 2 weeks ago

trying to do gz sim -v4 -r wildthumper_playpen.sdf getting the error Error Code 14: Msg: Parser configurations requested resolved uris, but uri [file://media/materials/scripts/gazebo.material] could not be resolved.

found this, which might help: https://community.gazebosim.org/t/migration-support-for-models-with-material-scripts/2471

srmainwaring commented 2 weeks ago

The <script> element needs to be removed. Previously the element was ignored, that may have changed in a recent Gazebo update.

A workaround is to comment / remove the ` block here:

https://github.com/ArduPilot/SITL_Models/blob/f739c3f0e5e98b0cb0c2b5704e5737999a70c0a7/Gazebo/models/wildthumper/model.sdf#L34-L41

That's the only occurrence afaict.