Robotics StackExchange | Archived questions

Operation time out while executing a launch file

Hello,

I'm using ros kinetic on a Raspberry Pi (ubuntu mate LTS). I need to execute a large launchfile for a project but most of the time, ros fails launching some nodes, sending a Error, operation time out. There is no problem in the codes, since sometimes it will launch the project without a problem, and sometimes it will fail. The nodes I need to run (other than some personal ones) are come from rplidar_ros and hector_slam packages. The error might come from rviz an other gui the launch file opens to retrieve and treate the information coming from a lidar. If that's the case, do you have any advice about how to solve this problem? Or is the problem elsewhere?

Thank you!

Asked by kharkad on 2018-04-11 10:27:26 UTC

Comments

I'm using ros kinetic on a Raspberry Pi

This could be a case of just not having the hw resources to run all the nodes you want to start.

Have you checked CPU and memory usage (using something like htop) while starting your launch file?

Asked by gvdhoorn on 2018-04-11 12:22:57 UTC

Answers