TeaganLi / HouseExpo

HouseExpo: A Large-scale 2D Indoor Layout Dataset
MIT License
119 stars 24 forks source link

Autonomous Exploration Maps #2

Open RemaDaher opened 4 years ago

RemaDaher commented 4 years ago

Hello,

In the autonomous exploration, the simulated robot autonomously explores environments and generates a noisy map. How can I save the generated noisy global maps as images?

Thank you in advance.

TeaganLi commented 4 years ago

Hi, I added the save figure part. Please uncomment it and try it out. # fig_map.savefig("test.png")

RemaDaher commented 4 years ago

Thank you so much for your prompt reply. However, I meant saving the explored maps after running the trained environment "robot_exploration_v0.py".

TeaganLi commented 4 years ago

Sorry, it is currently not available to save the explored maps after running the trained model. However, you can save it by yourself by calling " img = sim.get_state() cv2.imwrite("map.png", img) "

On Tue, May 5, 2020 at 11:04 PM RemaDaher notifications@github.com wrote:

Thank you so much for your prompt reply. However, I meant saving the explored maps after running the trained environment "robot_exploration_v0.py".

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TeaganLi/HouseExpo/issues/2#issuecomment-624109803, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2Q6FY4NA73JNSFLBWN7UTRQATGJANCNFSM4MZMCFXA .

--

LI, TingguangPh.D. candidate in EE, CUHK(852)56034944http://www.ee.cuhk.edu.hk/~tgli/ http://www.ee.cuhk.edu.hk/~tgli/Ho Sin-Hang Engineering Bldg 424, the Chinese University of Hong Kong, Shatin, New Territories, Hong Kong