From d0a4ae8766a57d4ba445824c339aaccd8dbc93f7 Mon Sep 17 00:00:00 2001 From: "G.A. vd. Hoorn" Date: Mon, 31 May 2021 11:33:15 +0200 Subject: [PATCH] Print two hints when pipe can't be opened There are more possible causes, but these are the two most often seen. --- modROS.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modROS.lua b/modROS.lua index 6affaa1..c6ed4f2 100644 --- a/modROS.lua +++ b/modROS.lua @@ -500,6 +500,9 @@ function ModROS:rosPubMsg(flag) else -- if not, print error to console and return print("Could not open named pipe: unknown reason (FS Lua does not seem to provide it)") + print("Possible reasons:") + print(" - symbolic link was not created") + print(" - the 'all_in_one_publisher.py' script is not running") return end