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

how connect mir adapter to rmf-core rmf-web? #37

Open
techfoxgithub opened this issue Mar 1, 2024 · 1 comment
Open

how connect mir adapter to rmf-core rmf-web? #37

techfoxgithub opened this issue Mar 1, 2024 · 1 comment

Comments

@techfoxgithub
Copy link

I have run the mir adapter according to its documentation, and use the traffic-editor generated map, but how to connect to rmf-web and rmf-core? my rmf-web could not get the robot map. How do I configure my launch file to remove the rviz and gazebo stuff , lanuch adapter and get the robot map? Is there any information on this? thank you.
office launch xml
node_list
adapter

@mxgrey
Copy link
Collaborator

mxgrey commented Mar 4, 2024

how to connect to rmf-web

The version of this fleet adapter on the main branch of this repo seems to predate rmf-web so it doesn't have a builtin way to talk to rmf-web which uses websockets.

I'd suggest using the version of the fleet adapter in branch xiyu/efc_fleet_adapter_mir which is the branch that this PR is based on - with the caveat that the branch is a work in progress and subject to further changes before it gets merged into main. In that branch, the fleet adapter executable supports a server_uri ROS parameter, which works the same way as the rmf_demos_fleet_adapter so you can refer to the documentation there.

how to connect to ... rmf-core?

This will be done automatically, you just need to launch the "core" nodes, which usually include the schedule node, dispatcher node, building map server, and door+lift supervisors. You can refer to this launch file to see the commonly launched nodes.

How do I configure my launch file to remove the rviz and gazebo stuff

The launch files in rmf_demos are only meant for reference, so you may need to copy/paste and edit those files to fit your particular needs. I would discourage using any of the rmf_demos launch files directly for a deployment because it's possible that we'll add more nodes to those launch files in the future which you do not want to have launched in your deployment.

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

2 participants