# Unable to run rmf\_demos office env without errors (#472)

**URL:** https://discourse.openrobotics.org/t/unable-to-run-rmf-demos-office-env-without-errors-472/44710
**Category:** Open-RMF General
**Tags:** rmf-github-discuss
**Created:** [May 30, 2024, 3:48pm UTC](https://discourse.openrobotics.org/t/unable-to-run-rmf-demos-office-env-without-errors-472/44710 "2024-05-30T15:48:48Z")
**Posts on this page:** 2
**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 30, 2024, 3:48pm UTC](https://discourse.openrobotics.org/t/unable-to-run-rmf-demos-office-env-without-errors-472/44710/1 "2024-05-30T15:48:48Z")

</div>

Posted by @Odin-byte:

I want to start working with the RMF traffic manager. As a starting point and to understand the overall structure of rmf core I want to start by playing around with the demos.

I am working on Ubuntu 22.04 using ROS2 Iron.

Before installing the rmf packages I have installed ROS2 iron following the instructions of the official docs: [Ubuntu-Install-Debians — ROS 2 Documentation: Iron documentation](https://docs.ros.org/en/iron/Installation/Ubuntu-Install-Debians.html)

After that I installed gazebo ignition (fortress) following these instructions:

> **[Binary Installation on Ubuntu — Gazebo ionic documentation](https://gazebosim.org/docs/fortress/install_ubuntu/)**

After that I installed ros\_gz following the these steps:

```auto
export GZ_VERSION=fortress

```

```auto
# Setup the workspace
mkdir -p ~/ws/src
cd ~/ws/src

# Download needed software
git clone https://github.com/gazebosim/ros_gz.git -b humble

```

Or do i need to clone from the `iron` branch?

```auto
cd ~/ws
rosdep install -r --from-paths src -i -y --rosdistro iron

```

After that I build the workspace with colcon build. The build is successful besides one deprecation warning for rosidl\_cmake.

Now we get to the rmf packages as all prerequisites are met (Ubuntu 22.04, Ros2 Iron and Gazebo Fortress (with ros\_gz build from source).

I follow along every step in the readme of the iron branch ([GitHub - open-rmf/rmf at iron](https://github.com/open-rmf/rmf/tree/iron)) for the binary installation.  
After running all setup steps I run:

```auto
sudo apt update && sudo apt install ros-iron-rmf-dev

```

All went through without any errors.  
To build rmf\_demos I run:

```auto
mkdir ~/rmf_ws/src -p
cd ~/rmf_ws/src
git clone https://github.com/open-rmf/rmf_demos.git -b 2.1.2
cd ~/rmf_ws
colcon build

```

This also builds with just one deprecation warning from the shapely package.

Now when trying to run the office demo by using

```auto
ros2 launch rmf_demos_gz office.launch.xml server_uri:="ws://localhost:7878"

```

Gazebo / Ignition is not started, also there are no robots spawned within RVIZ.

The console output can be found here: [Output of office launch open rmf demos · GitHub](https://gist.github.com/Odin-byte/64a6db97bb36c9500b0920b0bb992320)

When trying to start the demo using the corresponding classic launchfile gazebo is started but besides the 2 tiny bots no models can be loaded. When initiating the coke delivery request using the webinterface the robot moves to the pickup location but gets stuck there as there is nothing to pickup.

 ![Screenshot from 2024-05-30 17-42-16](https://us1.discourse-cdn.com/flex022/uploads/ros/original/3X/3/9/39b4707a7e7fc57547878dcbdce05f0a57ecdbc3.png)

 ![Screenshot from 2024-05-30 17-42-48](https://us1.discourse-cdn.com/flex022/uploads/ros/original/3X/f/6/f6523597587ec7e59065e9c171a35e7769bde78e.png)

The console output, up to this point looks as follows:

> <https://gist.github.com/Odin-byte/1f087f65531f250391d14484144dde3c>

I hope some of you can spot any errors. **I have not made any changes to the demos and followed all installation steps as described in the readme (and documented here)**

Thanks for your time and help! I appreciate it!

---

<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 30, 2024, 3:49pm UTC](https://discourse.openrobotics.org/t/unable-to-run-rmf-demos-office-env-without-errors-472/44710/2 "2024-05-30T15:49:49Z")

</div>

Posted by @Odin-byte:

I checked and the models (of the chairs etc) are not to be found in the corresponding package…
