Posted by @JordiVanyo:
I am trying to connect rmf-web to rmf-core through docker containers. I have managed to launch rmf-web on localhost through port 80 but it does not bind correctly to the simulation, as it does not show any information.
ROS Resources: ROS Homepage | Media and Trademarks | Documentation | ROS Index | How to Get Help | Q&A Help Site | Discussion Forum | Service Status |
Posted by @JordiVanyo:
I am trying to connect rmf-web to rmf-core through docker containers. I have managed to launch rmf-web on localhost through port 80 but it does not bind correctly to the simulation, as it does not show any information.
Posted by @aaronchongth:
Hey there! May I check what is the command you used to launch the simulation?
Assuming you bound the server to localhost:80
, your simulation should then be pointing to localhost:80/_internal
, which is the internal route to communicate to the server.
So a quick example would be using
ros2 launch rmf_demos_gz office.launch.xml server_uri:="ws://localhost:80/_internal"
Posted by @JordiVanyo:
Okaay thanks, another question, is it mandatory that it is using the rmf_demos_gz package? or can it be using another demos package like rmf_demos_panel?
Posted by @aaronchongth:
rmf_demos_gz
launches gazebo while rmf_demos_gz_classic
launches gazebo classic
or can it be using another demos package like rmf_demos_panel?
Could you explain what is the it
that you are referring to? The rmf_demos_panel
is a simplified panel to launch tasks in the demos, but it may not be working as well anymore, you should either use rmf-web
or the scripts in rmf_demos_tasks