aidudezzz / deepworlds

Examples and use cases using the deepbots framework (https://github.com/aidudezzz/deepbots) with the Webots robot simulator.
GNU General Public License v3.0
50 stars 23 forks source link

Panda robot environment outputs IndexedFaceSet errors #103

Open wilhem opened 2 months ago

wilhem commented 2 months ago

Hello,

I was trying the panda environment from the examples files. But starting webots and the controller I get the following errors:

ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':44:9: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':206:55: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':284:63: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':371:63: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':409:57: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':445:51: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':481:45: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':517:39: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':553:33: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':589:27: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':625:21: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':661:15: error: Skipped unknown 'solid' field in IndexedFaceSet node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':693:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':711:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':729:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':747:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':765:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':783:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':801:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':819:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: '/home/ubuntu/Downloads/deepbots-env/examples/panda/panda_goal_reaching/worlds/panda_goal_reaching.wbt':837:3: error: Skipped unknown 'scale' field in Solid node.
ERROR: 'https://raw.githubusercontent.com/cyberbotics/webots/R2022b/projects/objects/lights/protos/ConstructionLamp.proto':25:5: error: Skipped unknown 'scale' field in Solid node.

For some reason the IndexedFaceSet node has been used instead of CadShape, which means, that's the all content of the CAD collada files has been literally copied inside that Webots node (for this reason the world.wbt file has a size of 6 MByte) Could you upload the CAD files (the robot parts/links) into the repository? I would replace them in the robot and then I'll do a pull request.

tsampazk commented 2 months ago

I transferred the issue here in the deepworlds repo as it seems more appropriate.

To be honest i am not exactly sure what causes this issue, it is probably related to changes and updates made to Webots itself and how it handles these models.

I am pinging @KelvinYang0320 who may have some better idea of the issue

KelvinYang0320 commented 1 month ago

@wilhem Sorry for the late reply! Could you check if the PR https://github.com/aidudezzz/deepworlds/pull/100 helps? I have resolved that problem. image

@tsampazk Could you review the PR when you have time? Thanks! :smile:

wilhem commented 1 month ago

How should I check the PR? Should I reinstall the package?

KelvinYang0320 commented 1 month ago

@wilhem We have merged the PR (https://github.com/aidudezzz/deepworlds/pull/100).

You can update your deepworlds repo by

git checkout dev
git pull

and image

No need to reinstall Deepbots or other Python packages