RoboWaiter/robowaiter/utils/draw_bt/Default_bracket.ptml

33 lines
670 B
Plaintext
Raw Normal View History

2023-11-19 16:35:37 +08:00
selector
{
2024-01-04 22:51:33 +08:00
cond On(Coffee,Bar)
2023-11-19 16:35:37 +08:00
sequence
{
2024-01-09 20:24:23 +08:00
not cond Holding(Coffee)
2023-12-15 22:11:46 +08:00
selector
2023-11-19 16:35:37 +08:00
{
2023-12-15 22:11:46 +08:00
sequence
2023-11-19 16:35:37 +08:00
{
2024-01-04 22:51:33 +08:00
cond At(Robot,Bar)
act PutDown(Coffee,Bar)
} act MoveTo(Bar)
2023-12-15 22:11:46 +08:00
} } sequence
{
2024-01-04 22:51:33 +08:00
cond At(Robot,Coffee)
2023-11-19 16:35:37 +08:00
selector
{
2023-12-15 22:11:46 +08:00
sequence
{
cond Holding(Nothing)
act PickUp(Coffee)
2024-01-04 22:51:33 +08:00
} act PutDown(Anything,Anywhere)
} } sequence
2023-11-30 17:24:42 +08:00
{
2024-01-04 22:51:33 +08:00
cond Exist(Coffee)
act MoveTo(Coffee)
} sequence
2023-11-21 09:06:50 +08:00
{
2024-01-04 22:51:33 +08:00
cond Holding(Nothing)
act Make(Coffee)
} act PutDown(Anything,Anywhere)
}