Skip to content
Snippets Groups Projects
Commit 6e425b57 authored by Sebastian Olsson's avatar Sebastian Olsson
Browse files

86: Reconstructed safety check and receptionist trees

parent 42d0a2af
Branches
No related tags found
2 merge requests!25fix depth,!2386: Dialogflow now working correctly with Pepper. Plus some more stuff
import py_trees
safety_check = py_trees.composites.Selector(name=" Safety Check")
procedure = py_trees.composites.Sequence(name=" Procedure")
wait = py_trees.timers.Timer(name="Wait", duration=2)
......@@ -11,21 +11,21 @@
| | | | [Confirm Name]
| | | | (Name Confirmed);;Confirm Say
| | | [Ask Name Again];;Say
| | | (Name Retry);;Standby
| | | [Name Retry];;Standby
| | ?;;Age Wait Sel
| | | ->;;Get Age Seq
| | | | [Ask For Age];;Say
| | | | [Confirm Age]
| | | | (Age Confirmed);;Confirm Say
| | | [Ask Age Again];;Say
| | | (Age Retry);;Standby
| | | [Age Retry];;Standby
| | ?;;Drink Wait Sel
| | | ->;;Get Drink Seq
| | | | [Ask For Favorite Drink];;Say
| | | | [Confirm Drink]
| | | | (Drink Confirmed);;Confirm Say
| | | [Ask Drink Again];;Say
| | | (Drink Retry);;Standby
| | | [Drink Retry];;Standby
| | [Tell Person To Follow];;Say
| [Look Down];;Pepper Tilt Head
| [Move To Sofa];;Move To Point
......@@ -38,7 +38,6 @@
| | | | [Increase Introduced]
| | | | (Wait);;Timer;;5
| | | | (Check If Introduced everyone);;Introduced All
| | | [Introduce Retry];;Standby
| | | (Introduce Retry);;Standby
| | [Point At Empty Seat];;Point At
| | [Tell Person To Sit];;Say
......
......@@ -3,9 +3,12 @@
| | (Is Door Open)
| | [Move Forward]
| | (Wait);;Timer;;2
| | [Look Down];;Pepper Tilt Head
| | [Move To Safety Point];;Move To Point
| | ?;;Head Touched Selector Wait
| | [Center Head];;Pepper Center Head
| | ?;;Head Touched Sel
| | | (Is Head Touched)
| | | [Head Touched Retry];;Standby
| | [Look Down];;Pepper Tilt Head
| | [Move To Exit];;Move To Point
| [Standby]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment