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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠