Render wrong Mesh Surface when Zooming Out

asked 2023-01-20 02:45:26 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi guys,

gazebo renders the mesh surfaces wrong when zooming out. Any idea?

image description

But when I am close enaugh to the mesh it renders just fine, e.g. the matrix-style house in the back at close:

image description

Here's the code

gazebo smalltown.world --verbose
Gazebo multi-robot simulator, version 11.12.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 11.12.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.145
[Msg] Loading world file [/home/eric/Software/rccar/desktop/nav2/src/basic_mobile_robot/worlds/basic_mobile_bot_world/smalltown.world]
[Wrn] [OBJLoader.cc:80] Both `d` and `Tr` parameters defined for "SUV_Body". Use the value of `d` for dissolve (line 8 in .mtl.)
Both `d` and `Tr` parameters defined for "SUV_Wheels". Use the value of `d` for dissolve (line 22 in .mtl.)

[Err] [World.cc:2514] Unable to find model[number1]
[Err] [World.cc:2514] Unable to find model[number2]
[Err] [World.cc:2514] Unable to find model[number3]
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.145
[INFO] [1674203577.175867546] [gazebo_ros_node]: ROS was initialized without arguments.
[INFO] [1674203577.210674295] [basic_mobile_bot_diff_drive]: Wheel pair 1 separation set to [0.520000m]
[INFO] [1674203577.210808807] [basic_mobile_bot_diff_drive]: Wheel pair 1 diameter set to [0.280000m]
[INFO] [1674203577.211330546] [basic_mobile_bot_diff_drive]: Subscribed to [/cmd_vel]
[INFO] [1674203577.211854454] [basic_mobile_bot_diff_drive]: Advertise odometry on [/wheel/odometry]
[INFO] [1674203577.217780301] [basic_mobile_bot_joint_state]: Going to publish joint [drivewhl_l_joint]
[INFO] [1674203577.217801381] [basic_mobile_bot_joint_state]: Going to publish joint [drivewhl_r_joint]
[Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call
[Wrn] [OBJLoader.cc:80] Both `d` and `Tr` parameters defined for "SUV_Body". Use the value of `d` for dissolve (line 8 in .mtl.)
Both `d` and `Tr` parameters defined for "SUV_Wheels". Use the value of `d` for dissolve (line 22 in .mtl.)

[Wrn] [OBJLoader.cc:80] Both `d` and `Tr` parameters defined for "Hybrid". Use the value of `d` for dissolve (line 8 in .mtl.)
Both `d` and `Tr` parameters defined for "Wheels3". Use the value of `d` for dissolve (line 22 in .mtl.)
Both `d` and `Tr` parameters defined for "Hybrid_Interior". Use the value of `d` for dissolve (line 36 in .mtl.)
Both `d` and `Tr` parameters defined for "Windows". Use the value of `d` for dissolve (line 50 in .mtl.)

[Wrn] [SystemPaths.cc:459] File or path does not exist [""] [House_1_Normal.png]
[Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.

and the world file is from this tutorial so download here.

edit retag flag offensive close merge delete