Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panda robot environment outputs IndexedFaceSet errors #103

Open
wilhem opened this issue Jul 3, 2024 · 4 comments
Open

Panda robot environment outputs IndexedFaceSet errors #103

wilhem opened this issue Jul 3, 2024 · 4 comments

Comments

@wilhem
Copy link

wilhem commented Jul 3, 2024

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 tsampazk transferred this issue from aidudezzz/deepbots-tutorials Jul 3, 2024
@tsampazk
Copy link
Member

tsampazk commented Jul 3, 2024

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
Copy link
Member

@wilhem Sorry for the late reply!
Could you check if the PR #100 helps?
I have resolved that problem.
image

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

@wilhem
Copy link
Author

wilhem commented Jul 30, 2024

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

@KelvinYang0320
Copy link
Member

KelvinYang0320 commented Jul 30, 2024

@wilhem We have merged the PR (#100).

You can update your deepworlds repo by

git checkout dev
git pull

and
image

No need to reinstall Deepbots or other Python packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants