Skip to content

Commit

Permalink
Merge pull request #82 from Naoki-Hiraoka/fix-failure-recovery-sample
Browse files Browse the repository at this point in the history
[task_compiler/samples/failure-recovery-sample]suppress warnings
  • Loading branch information
k-okada authored Sep 29, 2023
2 parents e238fe0 + 6f3581f commit 76b5d35
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
(setq *graph* (make-graph-from-pddl-results (list *result*) :node-name :pprint))

;; swap nodes ( check_open <-> check_open_f ) for making task flow
(setq *graph* (add-failed-nodes *result* (list 'pick 'put) :graph *graph*))
(when (< 0 level)
(setq *graph* (add-failed-nodes *result* (list 'pick 'put) :graph *graph*)))

(send *graph* :name (send *domain* :name))

Expand Down

0 comments on commit 76b5d35

Please sign in to comment.