cyberbotics / webots

Webots Robot Simulator

Home Page:https://cyberbotics.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URDF export does place things correctly

elad-eyal opened this issue · comments

Describe the Bug
A clear and concise description of what the bug is.

Steps to Reproduce

  1. Open WeBots R2023b (for Windows)
  2. Open Sample "Mybots"
  3. in the "Scene Tree", right click on Robot "MyRobot" and select Export URDF
  4. save the file.
  5. Launch rviz2 (in my case RViz version 11.2.10 (ROS 2) running on Ubuntu 22.04 WSL2)
  6. Under "Display" click "Add".
  7. Select rviz_default_plugins --> RobotModel
  8. Under RobotModel --> Description Source select File
  9. Under RobotMoodel ----> Description File, select the file from before.
  10. Surprisingly the two wheels are not aligned, see below:

image

  1. It's not only rviz. Visit http://www.mymodelrobot.appspot.com/5674976526991360 and paste the content of that file and click "Load robot URDF". Again the sheels are not aligned.

image

Expected behavior
The wheels should be appear in the URDF tools in the same place as in webots

image