ros-controls / gz_ros2_control

Connect the latest version of Gazebo with ros2_control.
https://gazebosim.org
Apache License 2.0
92 stars 70 forks source link

diff drive example missing colors #310

Closed ARK3r closed 1 month ago

ARK3r commented 1 month ago

when running ros2 launch gz_ros2_control_demos diff_drive_example.launch.py the following errors are seen:

[robot_state_publisher-2] Warning: link 'chassis' material 'orange' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp
[robot_state_publisher-2] Warning: link 'chassis' material 'orange' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp
[robot_state_publisher-2] Warning: link 'left_wheel' material 'black' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp
[robot_state_publisher-2] Warning: link 'left_wheel' material 'black' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp
[robot_state_publisher-2] Warning: link 'right_wheel' material 'black' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp
[robot_state_publisher-2] Warning: link 'right_wheel' material 'black' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp
[robot_state_publisher-2] Warning: link 'caster' material 'white' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp
[robot_state_publisher-2] Warning: link 'caster' material 'white' undefined.
[robot_state_publisher-2]          at line 85 in ./urdf_parser/src/model.cpp

and

[ruby $(which gz) sim-1] Warning: link 'chassis' material 'orange' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp
[ruby $(which gz) sim-1] Warning: link 'chassis' material 'orange' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp
[ruby $(which gz) sim-1] Warning: link 'left_wheel' material 'black' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp
[ruby $(which gz) sim-1] Warning: link 'left_wheel' material 'black' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp
[ruby $(which gz) sim-1] Warning: link 'right_wheel' material 'black' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp
[ruby $(which gz) sim-1] Warning: link 'right_wheel' material 'black' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp
[ruby $(which gz) sim-1] Warning: link 'caster' material 'white' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp
[ruby $(which gz) sim-1] Warning: link 'caster' material 'white' undefined.
[ruby $(which gz) sim-1]          at line 85 in ./urdf_parser/src/model.cpp

without the changes:

Screenshot from 2024-05-28 14-40-20

with the changes:

Screenshot from 2024-05-28 14-40-43

ahcorde commented 1 month ago

https://github.com/Mergifyio backport jazzy humble iron

mergify[bot] commented 1 month ago

backport jazzy humble iron

✅ Backports have been created

* [#311 diff drive example missing colors (backport #310)](https://github.com/ros-controls/gz_ros2_control/pull/311) has been created for branch `jazzy` * [#312 diff drive example missing colors (backport #310)](https://github.com/ros-controls/gz_ros2_control/pull/312) has been created for branch `humble` * [#313 diff drive example missing colors (backport #310)](https://github.com/ros-controls/gz_ros2_control/pull/313) has been created for branch `iron`