Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spawn_model-4] process has died #13

Open
DavidNguyen95 opened this issue Jul 23, 2021 · 1 comment
Open

[spawn_model-4] process has died #13

DavidNguyen95 opened this issue Jul 23, 2021 · 1 comment

Comments

@DavidNguyen95
Copy link

Now I am using a docker (that has pytorch and cuda inside : pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel ) because we need to use GPU , then i install tiago package inside that docker. In general docker build and rocker run docker container complete.

Inside docker container
When I run roslaunch a simulation roslaunch tiago_gazebo tiago_gazebo.launch public_sim:=true robot:=steel
Gazebo ran but without tiago model inside, on the terminal there is a error like fail when load URDF model. More detail about error here:

[spawn_model-4] process has died [pid 673, exit code 1, cmd /tiago_public_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model -urdf -param robot_description -x 0.0 -y 0.0 -z 0.0 -R 0.0 -P 0.0 -Y 0.0 -model tiago __name:=spawn_model __log:=/root/.ros/log/c92a57de-ea5d-11eb-b926-0242ac110002/spawn_model-4.log].
log file: /root/.ros/log/c92a57de-ea5d-11eb-b926-0242ac110002/spawn_model-4*.log

Can you have any suggestion for me? to fix the issue.

Or suggest me other way to make dockerfile that can use GPU ( cuda, Pytorch ). I tried to use tiago docker (docker base on osrf/ros:melodic-desktop-full-bionic ) it work good with tiago package but it doesn't have cuda and pytorch inside. Can anyone suggest me install cuda inside tiago docker?
Many thanks
Dat

@arthurgomes4
Copy link

could you send the docker file for the image you used? (the one that gave the spawn-model error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants