TLDR:These are a quick list of instructions to quickly build rmf from source on your local workstation.
- Ubuntu
22.04.4LTS - ROS 2
Humble
cd $HOMEmkdir -p rmf_ws/src && cd rmf_wswget https://raw.githubusercontent.com/open-rmf/rmf/humble/rmf.reposvcs import src < rmf.repossudo apt-get updaterosdep updatesource /opt/ros/humble/setup.bashrosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO -ysudo apt install clang clang-tools lldb lld libstdc++-12-devexport CXX=clang++ && export CC=clangcolcon build --mixin release lld⭕ If you are encountering a similar error to below:
--- stderr: rmf_robot_sim_gz_classic_plugins
/home/user/rmf_ws/src/rmf/rmf_simulation/rmf_robot_sim_gz_classic_plugins/src/slotcar.cpp:86:22: error: no type named 'sanitize_node_name' in namespace 'rmf_plugins_utils'
rmf_plugins_utils::sanitize_node_name(node_name);✅ Solution:
Remove specific package, rmf_robot_sim_gz_classic_plugins, out for now:
rm -r $HOME/rmf_ws/src/rmf/rmf_simulation/rmf_robot_sim_gz_classic_plugins