# Floorplan data not being published (#690)

**URL:** <https://discourse.openrobotics.org/t/floorplan-data-not-being-published-690/44531>\
**Category:** Open-RMF General\
**Tags:** rmf-github-discuss\
**Created:** [May 20, 2025, 11:56am UTC](https://discourse.openrobotics.org/t/floorplan-data-not-being-published-690/44531 "2025-05-20T11:56:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Archive-o-matic](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/archive-o-matic/32/26074_2.png) [@Archive-o-matic](https://discourse.openrobotics.org/u/Archive-o-matic)\
**Post date:** [May 20, 2025, 11:56am UTC](https://discourse.openrobotics.org/t/floorplan-data-not-being-published-690/44531/1 "2025-05-20T11:56:00Z")

</div>

Posted by @SirFireByte:

Hey everyone,  
i’ve built a map from scratch, without a reference.  
However, when launching rmf\_common the data field of the /floorplan topic is not filled.  
The /map topic is published properly and gazebo can run the world file as well.  
I dont what the issue could be.  
Other maps are working well.

Following are my building.yaml file and my launchfile as well as a picture of the traffic editor.  
Has anyone have an idea what the issue might be?

 ![Screenshot 2025-05-20 135441](https://us1.discourse-cdn.com/flex022/uploads/ros/original/3X/3/9/396d43aed1458804433582b7bbd69f702bac9581.png)

* * *

Edited by @SirFireByte at 2025-05-28T11:10:05Z

> **Chosen answer**
>
> Answer chosen by @SirFireByte at 2025-06-03T09:41:16Z.  
> Answered by @aaronchongth:
> 
> Hi @SirFireByte, `/floorplan` will not be published if there are no reference images.
> 
> [rmf\_visualization/rmf\_visualization\_floorplans/src/FloorplanVisualizer.cpp at main · open-rmf/rmf\_visualization · GitHub](https://github.com/open-rmf/rmf_visualization/blob/main/rmf_visualization_floorplans/src/FloorplanVisualizer.cpp#L73-L74)

---

<div class="post-metadata">

**Author:** ![Archive-o-matic](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/archive-o-matic/32/26074_2.png) [@Archive-o-matic](https://discourse.openrobotics.org/u/Archive-o-matic)\
**Post date:** [May 21, 2025, 1:46am UTC](https://discourse.openrobotics.org/t/floorplan-data-not-being-published-690/44531/2 "2025-05-21T01:46:09Z")

</div>

Posted by @aaronchongth:

Hi @SirFireByte, `/floorplan` will not be published if there are no reference images.

> <https://github.com/open-rmf/rmf_visualization/blob/main/rmf_visualization_floorplans/src/FloorplanVisualizer.cpp#L73-L74>

* * *

**This is the chosen answer.**

---

<div class="post-metadata">

**Author:** ![Archive-o-matic](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/archive-o-matic/32/26074_2.png) [@Archive-o-matic](https://discourse.openrobotics.org/u/Archive-o-matic)\
**Post date:** [May 28, 2025, 11:09am UTC](https://discourse.openrobotics.org/t/floorplan-data-not-being-published-690/44531/3 "2025-05-28T11:09:43Z")

</div>

Posted by @SirFireByte:

Hey Aaron, adding a simple empty png with the same width and length i wanted worked. However, i expected that it would be possible to create a building.yaml wihout a reference image as you are able to enter explicit dimensions? Also is it possible to publish the added walls on the floorplan?

P.S. I’ll remove my building.yaml and launchfile as they are not relevant

---

<div class="post-metadata">

**Author:** ![Archive-o-matic](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/archive-o-matic/32/26074_2.png) [@Archive-o-matic](https://discourse.openrobotics.org/u/Archive-o-matic)\
**Post date:** [May 29, 2025, 2:33am UTC](https://discourse.openrobotics.org/t/floorplan-data-not-being-published-690/44531/4 "2025-05-29T02:33:21Z")

</div>

Posted by @aaronchongth:

You can get the wall graph from the `/map` topic, which uses the building map message, [rmf\_building\_map\_msgs/rmf\_building\_map\_msgs/msg/Level.msg at main · open-rmf/rmf\_building\_map\_msgs · GitHub](https://github.com/open-rmf/rmf_building_map_msgs/blob/main/rmf_building_map_msgs/msg/Level.msg#L7)
