I have an issue spawning my URDF model in gazebo. It works fine in rviz but when I launch it in gazebo the model shows up in model parameters but I don't get any visuals.
My theory is that since gazebo converts URDF to SDF when spawning, the path pointing to the model changes in from.
In my code (URDF):
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="package://diff_drive/meshes/visual/casterWheelLeft.STL" />
</geometry>
<material
name="">
<color
rgba="0.752941176470588 0 0 1" />
</material>
</visual>
In Gazebo:
This is my full code: github.com/drec0xy/diff_drive
I'm using ROS2 Humble and Gazebo 11.
To reproduce the error add the package in a colcon work space and build using colcon, run the launch file: launch.py