2018-04-10 17:33:31 +08:00
|
|
|
From 2455d52f41d886970d62f26e69849df29b3405b8 Mon Sep 17 00:00:00 2001
|
2014-01-15 01:07:40 +08:00
|
|
|
From: Esteve Fernandez <esteve@osrfoundation.org>
|
|
|
|
Date: Tue, 14 Jan 2014 17:53:29 +0100
|
2018-04-10 17:33:31 +08:00
|
|
|
Subject: [PATCH] Increase start and stop timeouts for ROS master.
|
2014-01-15 01:07:40 +08:00
|
|
|
|
|
|
|
Certain boards are too slow to boot up the ROS master before roscore gives up.
|
|
|
|
This patch increases the start and stop timeouts, giving the ROS master more
|
|
|
|
time to start.
|
2014-01-23 14:43:03 +08:00
|
|
|
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
2018-04-10 17:33:31 +08:00
|
|
|
|
2014-01-15 01:07:40 +08:00
|
|
|
---
|
2018-04-10 17:33:31 +08:00
|
|
|
tools/roslaunch/src/roslaunch/launch.py | 4 ++--
|
2014-01-15 01:07:40 +08:00
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2018-04-10 17:33:31 +08:00
|
|
|
diff --git a/tools/roslaunch/src/roslaunch/launch.py b/tools/roslaunch/src/roslaunch/launch.py
|
|
|
|
index 758d6fe..25b4053 100644
|
|
|
|
--- a/tools/roslaunch/src/roslaunch/launch.py
|
|
|
|
+++ b/tools/roslaunch/src/roslaunch/launch.py
|
|
|
|
@@ -59,8 +59,8 @@ from roslaunch.rlutil import update_terminal_name
|
2014-01-15 01:07:40 +08:00
|
|
|
|
2018-04-10 17:33:31 +08:00
|
|
|
from rosmaster.master_api import NUM_WORKERS
|
2014-01-15 01:07:40 +08:00
|
|
|
|
|
|
|
-_TIMEOUT_MASTER_START = 10.0 #seconds
|
|
|
|
-_TIMEOUT_MASTER_STOP = 10.0 #seconds
|
|
|
|
+_TIMEOUT_MASTER_START = 60.0 #seconds
|
|
|
|
+_TIMEOUT_MASTER_STOP = 60.0 #seconds
|
|
|
|
|
|
|
|
_ID = '/roslaunch'
|
|
|
|
|