makspll / bevy_mod_scripting

Bevy Scripting Plugin
Apache License 2.0
390 stars 31 forks source link

gazebo_ros_2Dmap_plugin #84

Closed NamTruongTran closed 10 months ago

NamTruongTran commented 10 months ago

Hey,

sorry to bother you. I found you issue post (2021): https://github.com/marinaKollmitz/gazebo_ros_2Dmap_plugin/issues/11

Could you remeber how to use the plugin?

I tried it with simple turtlebot3_world map but it doesn't work.

  1. I include the plugin into my .world file
  2. I started tb3: roslaunch turtlebot3_gazebo turtlebot3_world.launch
  3. I call the service rosservice call /gazebo_2Dmap_plugin/generate_map (After i call the servicei getting the following message: Occupancy Map generation completed )
  4. Lastly i saved the map: rosrun map_server map_saver -f test /map:=/map2d

After step 4, i got 2 files:

  1. test.yaml
  2. test.pgm

But the pgm is not the desire grid map of the turtlbot3 world: https://ibb.co/wNB2HdN

I really appreciate your time. Thank you.