0

I want to slam and show map on web. Now i developed the website by using rosnodejs and websocket connection. I want to know how can I make a realtime map? Any suggestion?

4

1 回答 1

3

You can use any SLAM package, for instance gmapping, karto, or cartographer. They will produce maps published in the OccupancyGrid format. Your rosnodejs server code can subscribe to that topic and send it your web-clients via your websockets. On the client I recommend using leaflet, or, if you are using React, react-leaflet.

This is the pipeline I've used several times and it works really well!

于 2020-06-25T16:08:04.167 回答