Skip to content

Instantly share code, notes, and snippets.

@cardboardcode
Last active June 3, 2024 03:15
Show Gist options
  • Save cardboardcode/3f8bad1c6cc830be50d748f1feeb2f17 to your computer and use it in GitHub Desktop.
Save cardboardcode/3f8bad1c6cc830be50d748f1feeb2f17 to your computer and use it in GitHub Desktop.
For People In A Hurry: Set up rmf_web on ROS 2 Humble

For People In A Hurry: Set up rmf_web for ROS 2 Humble

TLDR: These are a quick list of instructions to quickly install and run rmf_web on your local workstation.

Environment

  1. Ubuntu 22.04.4 LTS
  2. ROS 2 Humble
docker pull ghcr.io/open-rmf/rmf/rmf_demos:latest
docker tag ghcr.io/open-rmf/rmf/rmf_demos:latest rmf:latest
docker run -it \
 --name rmf_web_c \
 --net host \
 --ipc host \
 rmf:latest /bin/bash
cd $HOME && git clone https://github.com/open-rmf/rmf-web.git --single-branch --branch main --depth 1
cd ~/rmf-web
curl -fsSL https://get.pnpm.io/install.sh | bash -
source ~/.bashrc
pnpm env use --global 20
sudo apt-get update && sudo apt-get install  python3-venv -y
pip install pipenv
cd $HOME && git clone https://github.com/open-rmf/rmf-web.git --single-branch --branch main --depth 1
cd rmf-web && pnpm install
source /opt/ros/humble/setup.bash 
cd ~/rmf-web/packages/dashboard && pnpm start

Verify

A webpage should be opened at http://localhost:3000/ in your default browser with RMF Web Dashboard present.

@cardboardcode
Copy link
Author

cardboardcode commented Jun 2, 2024

RMF Web Dashboard
Screenshot from 2024-06-02 11-33-37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment