You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a spawned robot model in roslaunch file, the robot model is in “.urdf.xcaro“ files. First, I converted the urdf.xacro file to urdf file and changed the “package://” to “model:// “ in the urdf file. Then I copied my model folder in “gzweb/http/client/assets” folder, a “model.config” file is also added with “<sdf version=1.4">rb1_base_std.urdf“. Testing it, I see that in gzweb my robot loses the shape, it should look like a turtelbot, but now it is as shown in the picture, it seems that the mesh files are not linked with the model. Furthermore, checking the output of “npm run deploy --- -m local“ , I have seen that gzweb doesn't process the “.urdf“ file (I don't see the name of the file among the ones listed in the output).
The text was updated successfully, but these errors were encountered:
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
I wouldn't expect the robot to look like that if it were a problem with the URDF though. It seems to be more of a problem reading the underlying mesh file (collada / obj / stl). You could try loading a simple SDF with just the mesh you have to see if the problem persists. Also, have you checked that it is loaded properly with gzclient (i.e. gazebo)?
Hi Louise, Thanks for your reply. I also run the gazebo, and the robot model is fine in gzclient. And I tried to convert the urdf file to sdf file, I saw in the output of “npm run deploy --- -m local“, it processes the .sdf file, but the model still looks like in the same way.
Original report (archived issue) by Xu Tao (Bitbucket: Xu Tao).
The original report had attachments: robot.png
I have a spawned robot model in roslaunch file, the robot model is in “.urdf.xcaro“ files. First, I converted the urdf.xacro file to urdf file and changed the “package://” to “model:// “ in the urdf file. Then I copied my model folder in “gzweb/http/client/assets” folder, a “model.config” file is also added with “<sdf version=1.4">rb1_base_std.urdf“. Testing it, I see that in gzweb my robot loses the shape, it should look like a turtelbot, but now it is as shown in the picture, it seems that the mesh files are not linked with the model. Furthermore, checking the output of “npm run deploy --- -m local“ , I have seen that gzweb doesn't process the “.urdf“ file (I don't see the name of the file among the ones listed in the output).
The text was updated successfully, but these errors were encountered: