![]() Then when you try to open it in your snap installation, it will look locally in the snap folder (where there are no assets) instead of downloading them. So what I suspect is that when you built your world in the Webots development environment, you got the webots:// urls written in your world. That what the webots:// prefix does: it tells Webots to look in its installation directory. ![]() However, when using webots from sources, there is a special case.Īs developing from sources is thought for the developpers of Webots, a direct access to the assets is needed to be able to quickly modify and test them. If you insert a Horse in a world you will have the line: Since R2022b, the keyword EXTERNPROTO is used in worlds to determine where Webots needs to look for a specific asset. I think that the protos you are trying to load do not have the right path. However, the assets are not distributed in the released version of Webots to reduce the size of the package ( ). When you install webots from the sources, all the assets (textures, protos.) are available locally in the Webots folder. Open it again in Webots and it should work. It seems like your Webots installation is looking for the PROTO locally instead of remotely. Is there something specific to do when switching from sources to released packages? It seems to affect only PROTO, not base node like Transform, Solid, Background ans so on. I tried to add a new horse and it works as if the horse from the Webots built from sources is not compatible with the horse from the distributions, which is really strange. I made a minimal example of just a horse, viewpoint and worldinfo but it is still bugging. ![]() Ensure you are opening the correct world.ĮRROR: 'agriProj.wbt':11:1: error: Skipped unknown 'Horse' node or PROTO. ![]() Ensure you are opening the correct world.ĮRROR: Skipped PROTO 'Horse' as it is not available at: /snap/webots/24/usr/share/webots/projects/objects/animals/protos/Horse.proto.ĮRROR: URL '/snap/webots/24/usr/share/webots/projects/objects/animals/protos/Horse.proto' changed by fallback mechanism. The world loads, but the screen is black and the terminal is flooded with errors like that: ERROR: URL '/snap/webots/24/usr/share/webots/projects/objects/animals/protos/Horse.proto' changed by fallback mechanism. However, now that R2023a is out, I installed the snap package to continue my project. I did that to have access to the animals before R2023a was released. I first developed my simulation using these instruction to build Webots from sources: I made a simulation of a farm in Webots using the new animals objects released with R2023a. ![]()
0 Comments
Leave a Reply. |