Open zakmat opened 18 hours ago
I can reproduce the issue, and assign blocker priority since it breaks existing projects (e.g. fleet template).
https://github.com/user-attachments/assets/5d12443f-1578-4f15-97bc-d89fc672a6b2
The bug was introduced in PR #759
Describe the bug ROS2 Spawner does not handle robot_namespace field correctly. The robot is spawned however no namespace is set.
Assets required https://github.com/o3de/o3de-extras/tree/development/Gems/RosRobotSample can be used for convenience
Steps to reproduce
ROS2 Spawner Component
rosbot_xl.prefab
with rosbot name to the spawner and Start Game Moderos2 topic list
Expected behavior Two rosbots are spawned in the scene. Topic list includes both
first/cmd_vel
andsecond/cmd_vel
. Actual behavior Topic list has only one/cmd_vel
that can be used to control both robots.Found in Branch main (2409)
Commit ID from o3de/o3de and o3de/o3de-extras repositories o3de:
e8570f9d635c0abbf3d733d0524a3c0ae75d726c
o3de-extras:f71979b52a9f18f0313780d389e009f007ce2c36
Desktop/Device (please complete the following information):
Additional context Add any other context about the problem here.