Robotics StackExchange | Archived questions

multiple robot navigation, but 2nd (and 3rd ...) robot can't navigate

I'm working in CLOiSim (https://github.com/lge-ros2/cloisim).
I hope robots to navigate independently to each other/
The 1st robot:
I enter its initial pose (2d pose estimation in RVIZ)
I enter its navigation goal (in RVIZ)
it goes toward the goal => great!

The 2nd robot(and 3rd ... so on):
I enter its initial pose
I enter its navigation goal (not the origin (0,0))
It goes toward the origin (0,0) wherever I entered as its goal
I enter another goal => It never moves

In the RVIZ window for the 1st robot:
Navigation: active
Localization: active

In the RVIZ window for 2nd robot:
Navigation: inactive
Localization: inactive

I'm using the example of ros-planning/navigation2/nav2_bringup. I think I can solve this by editing the launch file and prams file...

I hope someone give me some advice, but I guess it's hard to configure the problem...

Thanks for reading this!

env:
docker ubuntu:20.04
ROS2 (foxy)

Asked by moran991231@gmail.com on 2022-08-18 21:08:48 UTC

Comments

Answers