Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pddl_planner/demos/2011_saito]Fix bug, add warning #80

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pddl/pddl_planner/demos/2011_saito/solve-knock-door.l
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
(format t ";; open action [~a]~%" obj) t)
(defun PR2_ACTION::check_open (obj)
(format t ";; check if open [~a]~%" obj)
(< 0.8 (rand))) ;; 20% success
(< 0.8 (random 1.0))) ;; 20% success
(defun PR2_ACTION::wipe (obj)
(format t ";; wiping [~a] ~%" obj) t)
(defun PR2_ACTION::pick (obj)
Expand All @@ -218,6 +218,7 @@
(load "package://roseus_smach/src/pddl2smach.l")

;; global data is not used (nil)
;; currently pddl-smach supports only success/failure branch, but this sample has multi-goal branch. So this sample does not work well with smach.
(exec-smach-with-spin (convert-smach *graph*) nil :hz 1.0)

(if *exit-on-end* (ros::exit))
2 changes: 2 additions & 0 deletions pddl/pddl_planner/demos/2011_saito/solve-taking-elevator.l
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env roseus

(warn "~%!!!!! THIS DEMO IS INCOMPLETE !!!!!~%")

(load "package://pddl_planner/src/pddl-result-graph.l")
(load "package://pddl_planner/src/eus-pddl-client.l")

Expand Down
Loading