Open4

OpenRMFではまったところ

h-watah-wata

https://github.com/open-rmf/rmf_demos/issues/177
https://github.com/open-rmf/rmf_demos/issues/169#issuecomment-1331904134
Dashboardがうまく立ち上がらない。
エラーメッセージ:

~()~
TypeError: Server.emit() got an unexpected keyword argument 'broadcast'
sudo apt remove python3-websockets 
python3 -m pip install websockets==10.4
python3 -m pip install asyncio

そしてRecompile

cd ~/rmf_ws
source /opt/ros/humble/setup.bash
export CXX=clang++
export CC=clang
colcon build --mixin release lld
h-watah-wata

最近Source Buildしてハマったところ。
numpyのVersionが2.Xだと、Ubuntu 22.04ではrmf_adapter.Transformationなどの関数を呼ぶときにSegmentation faultになり、Ubuntu24.04ではcolcon buildの途中でBuildが通らなかった。

numpyのインストール方法をpackage.xmlにある通りpython3-numpyで実施すると、上記のエラーが解消した。