Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with renaming model_name #638

Closed
Grigoriy0526 opened this issue May 10, 2023 · 2 comments
Closed

Problem with renaming model_name #638

Grigoriy0526 opened this issue May 10, 2023 · 2 comments

Comments

@Grigoriy0526
Copy link

Hello, I have a problem when starting the sydney_regatta world, if I rename model_name in the file competition.launch.py from 'wamv' to something else, an error occurs, what can such an error be related to?
Снимок экрана от 2023-05-10 13-38-42
Снимок экрана от 2023-05-10 12-26-14

  • Ubuntu 22.04
  • ROS 2, Humble
  • Gazebo Sim 7.0.0
  • VRX
@carvee1
Copy link
Contributor

carvee1 commented May 17, 2023

I solved the bug yesterday, when spawning a vehicle with another name, the problem can be found in the vrx_urdf/wamv_gazebo/urdf/wamv_gazebo.urdf.xacro file. In line 103, you have to change
<child>wamv/base_link</child>
into
<child>$(arg namespace)/base_link</child>
Afterwards it should work fine.
I already started the pull request #644 to solve this problem
Tested in ROS2 Humble and Ubuntu 22.04

@M1chaelM
Copy link
Collaborator

M1chaelM commented Aug 2, 2023

Thanks @Grigoriy0526 and @carvee1 for finding and fixing this!
Resolved with #644

@M1chaelM M1chaelM closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants