bash: rosrun: command not found RoboMaker

0

I'm doing the Hello World tutorial in RoboMaker and I want to visualize my simulation application in Gazebo, and after having runned both the robot application and the simulation application I have typed the following commands:

$ export DISPLAY=:0

$ xhost +

$ docker container ls

$ docker exec -it elegant_ardinghelli bash

$ rosrun gazebo_ros gzclient

where "elegant_ardinghelli" is the container name that contains the docker image of the simulation application, but when I run the last command the following error pops up: "bash: rosrun: command not found".

Do you know what could be the source of the error?

質問済み 2年前333ビュー
1回答
1

It could be you didn't source the setup.bash file. Double check that you have a simulation-entrypoint.sh or equivalent file that sources setup.bash and that the file is copied in the Dockerfile for the simulation application. For more information, see Creating an image for the simulation application in the documentation.

AWS
エキスパート
回答済み 2年前
  • Thank you very much! I did as the guide says, make the folders with the Dockerfiles and the entrypoints, yet I obtain the same result. I have installed rosbash to have rosrun and rospack-tools to have rospack, but know the problem is "rospack Error: package 'gazebo_ros' not found". Can it due to some permission problems?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ