Closed JGUO006 closed 3 years ago
I see the error "Address already in use" for localhost:8080
, can you check you don't have anything running on localhost
at that port? it seems it might be conflicting...
It would be helpful if you could copy out the log into a github gist too, thanks!
@JGUO006 as of PR https://github.com/open-rmf/rmf_demos/pull/80, the correct way to launch the demo is ros2 launch rmf_demos_gz office.launch.xml
. But in your first screenshot, you're using the old command ros2 launch rmf_demos office.launch.xml
This was done to separate gazebo
and ignition
dependencies in launching the demos. The command you used, will launch all the backend rmf nodes without starting the simulation.
Sorry, I accidentally closed this ticket. My suggestion above is relevant to not starting gazebo without which, there are no robots that make their presence known to the fleet adapters. As a result, the adapters will not respond to the bid for a new task. But as @marcoag and @aaronchongth have pointed out, there is another issue with the conflicting addresses on your system.
Hi,
Thanks all for your prompt reply! I have checked that one of my docker containers installed recently is using port 8080. It is causing the port conflicting (already in use) issue.
After I stopped docker containers and checked that the port 8080 is not being used any more, I ran the old command ros2 launch rmf_demos office.launch.xml first. There was no error message but the result was the same as mentioned above. No robots spawn and Gazebo not pop up.
Then I ran the recommended command ros2 launch rmf_demos_gz office.launch.xml, everything was just back to normal.
Here are some screen captures,
That solved this issue here. Thank you!
@JGUO006, glad to hear that you're able to run the demo. I'll go ahead and close this ticket 😄
Hi,
I just followed instructions to download and compile the rmf_ws source code today.
The downloading and compiling were smooth and successful.
However, when I ran the first rmf_demo on office map, there were no robots spawn on Rviz and Gazebo was also not launched.
In RMF panel, there was no robot's information. Tasks could be submitted but had no action from the system.
Some screen captures when I launch the demo are as follow,
I am using Ubuntu 20.04 with both ROS noetic and ROS 2 foxy installed.
Do you have any idea what issue is causing that?