-
Notifications
You must be signed in to change notification settings - Fork 58
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
Sensor Issue with a namespaced multi_sim #212
Comments
@roni-kreinin, may you please give me a hint about this? I'm quite sure you already deal with this with the turtlebot4. |
@MatteoCarlone Are you using gazebo classic or ignition? |
Gazebo Classic sorry that I haven’t specified it in the previous question! |
TurtleBot4 only supports Ignition so I never tried setting up the RPLIDAR in classic. Your approach does look correct though. Does the same thing happen if you spawn the first robot without a namespace? |
@roni-kreinin I just tried this: First robot without namespace
second robot with namespace robot1
I get the same problem, I just have the
|
ROS2 Humble,
Ubuntu 22.04,
I'm using the last released multi-robot simulation in the main branch.
I'm able to spawn more than one create correctly namespaced.
I had the necessity of adding a lidar sensor on top of the creates in order to use the NAV2 localization and navigation.
I just added a xacro lidar description to the create urdf and namespaced it in the plugin section, I report the script below:
and in the create3 description just:
I have the following issue:
The first create that I spawn has the lidar with the
/robot1/scan
topic visible and working correctly, once I add the second robot to the simulation:it spawn with the lidar visuals but there's no
/robot2/scan
topic published.As far as I could have seen with the
ros2 topic info /robot1/scan
there are two publisher on the first topic:but apart from the scan the second robot is well namespaced as /robot2
I Know that's probably not a create3 issue, I was just wondering if you solved this while creating the Turtlebot4 urdf description.
Thanks in advance for your help, if it's off-topic I'll close this.
The text was updated successfully, but these errors were encountered: