RoboWaiter/robowaiter/utils/draw_bt/Default_bracket.ptml

38 lines
737 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)
} Sequence
{
cond Holding(Nothing)
cond At(Robot,Yogurt)
cond At(Robot,Bar)
act PickUp(Yogurt)
} Sequence
{
cond Holding(Nothing)
cond At(Robot,Yogurt)
act PickUp(Yogurt)
} Sequence
{
cond At(Robot,Yogurt)
cond At(Robot,Bar)
act FreeHands()
} Sequence
{
cond At(Robot,Yogurt)
act FreeHands()
} Sequence
{
cond Holding(Nothing)
cond Exist(Yogurt)
act MoveTo(Yogurt)
2023-11-21 09:06:50 +08:00
}}