VIS4ROB-lab / voxfield

🦊 Voxfield: non-Projective Signed Distance Fields for Online Planning and 3D Reconstruction [IROS' 22]
BSD 3-Clause "New" or "Revised" License
267 stars 27 forks source link

How to save the mesh map or TSDF map in the right way. #10

Closed marrblue closed 1 year ago

marrblue commented 1 year ago

Hi @YuePanEdward nice work !

I am going to save the mesh results of voxfield following the comment here

/**
   * Mesh output settings. Mesh is only written to file if mesh_filename_ is
   * not empty.
   */
  std::string mesh_filename_;

I add a param in the launch file mai_voxfield.launch:

<param name="mesh_filename" value="$(find voxblox_ros)/mai_city.ply" /> but it seems not work.

I am not familiar with ROS at all. Could you give me some hints? Thanks much!

marrblue commented 1 year ago

I got it in save mesh map. I should open a new terminal and call save map service by inputting rosservice call /voxblox_node/generate_mesh "{}" Now it works! Thanks for your work again.