尝试在 Docker 上设置模拟时,出现错误:“xhost: command not found”

问题描述 投票:0回答:0

https://github.com/EuropeanRoverChallenge/ERC-Remote-Maintenance-Sim

使用此链接,我尝试通过 docker 在 Windows 11 上安装模拟,然后运行“./build_erc.sh " 成功了,但是这里有一个错误:

lenovo@LAPTOPUKO MINGW64 ~/OneDrive/Masaüstü/ERC-Remote-Maintenance-Sim-main/ERC-Remote-Maintenance-Sim-main
$ bash run_ur3_docker.bash
run_ur3_docker.bash: line 1: xhost: command not found

我试图忽略它,但是当我启动模拟(roslaunch ur3_Sim simulation.launch)时,终端输出是它应该的但没有像rviz或gazebo这样的模拟环境,但它应该是一个模拟环境。我该如何解决这个错误?

docker ros rviz
© www.soinside.com 2019 - 2024. All rights reserved.