ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
747 stars 914 forks source link

Executing Roslaunch commands inside a running container #2287

Closed tecena closed 1 year ago

tecena commented 1 year ago

Hi,

I am trying to run autoware with carla. Autoware is running as a container in linux machine. now after starting the container, with the following commands

docker run \ -d \ -it --rm \ --volume=$(pwd)/autoware-contents:/home/autoware/autoware-contents:ro \ --env="DISPLAY=${DISPLAY}" \ --privileged \ --net=host \ $RUNTIME \ carla-autoware:latest, the container is up

now I want to launch my launch files to start the auotware nodes using roslaunch carla_autoware_agent carla_autoware_agent.launch town:=Town04 synchronous_mode:=true with out entering into the container so I tried to run with docker exec, I am getting the following error OCI runtime exec failed: exec failed: unable to start container process: exec: "roslaunch": executable file not found in $PATH: unknown

How do I run the roslaunch command in a linux machine without entering into the container either using shell script.

mikepurvis commented 1 year ago

Hey there— this issue tracker is for reporting bugs. For general support, please use ROS Answers: https://answers.ros.org/questions/