Skip to content

Commit

Permalink
[hrpsys_ros_bridge] Warn message if wrong path is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
garaemon authored and leus committed Jul 13, 2015
1 parent 10b2bbe commit 6844cd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hrpsys_ros_bridge/euslisp/datalogger-log-parser.l
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
(max-line (car (find-if #'(lambda (x) (substringp "sh_qOut" (cadr x))) fname-liens-without-rh)))
(fname-candidate-list-with-valid-line-without-rh
(mapcar #'cadr (remove-if-not #'(lambda (x) (= (car x) max-line)) fname-liens-without-rh))))
(unless fname-candidate-list-with-valid-line-without-rh
(warning-message 1 "Failed to find candidate files, have you specified wrong path?: ~A~%" fname))
(setq parser-list
(mapcar #'(lambda (x)
(instance datalogger-log-parser :init (format nil "~A/~A" dir-str x)
Expand Down

0 comments on commit 6844cd8

Please sign in to comment.