ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Adding a delay before starting the services (except for the roscore
) solved the problem. roslaunch
tries to get the run id from an existing ros master and if it can't get it, it creates a one of its own.Hence the conflict. Seems like the problem was a timing issue. The problem occurred when I was using a mechanical hard drive. The services work fine without using such delays, on a system with similar hardware but with a SSD.
(I have added ExecStartPre=/bin/sleep 10
to the services to get them to work)