RoboWaiter/robowaiter/utils/draw_bt/Default.ptml

27 lines
357 B
Plaintext
Raw Normal View History

2023-11-28 17:50:20 +08:00
selector{
cond On(Yogurt,Bar)
sequence{
cond Holding(Yogurt)
cond At(Robot,Bar)
act PutDown(Yogurt,Bar)
}
sequence{
cond Holding(Yogurt)
act MoveTo(Bar)
}
2023-11-21 09:06:50 +08:00
sequence{
cond Holding(Nothing)
2023-11-28 17:50:20 +08:00
cond At(Robot,Yogurt)
act PickUp(Yogurt)
}
2023-11-21 09:06:50 +08:00
sequence{
2023-11-28 17:50:20 +08:00
cond At(Robot,Yogurt)
act FreeHands()
2023-11-21 09:06:50 +08:00
}
sequence{
2023-11-28 17:50:20 +08:00
cond Holding(Nothing)
cond Exist(Yogurt)
act MoveTo(Yogurt)
}
}