Skip to content

Commit

Permalink
Merge pull request start-jsk#767 from garaemon/warning-for-wrong-path
Browse files Browse the repository at this point in the history
[hrpsys_ros_bridge] Warn message if wrong path is specified
  • Loading branch information
garaemon committed Jul 13, 2015
2 parents 10b2bbe + 6844cd8 commit 877abbb
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 877abbb

Please sign in to comment.