RoboWaiter/robowaiter/behavior_lib/act/MoveTo.py

22 lines
601 B
Python
Raw Normal View History

import py_trees as ptree
from typing import Any
2023-11-08 15:28:01 +08:00
from robowaiter.behavior_lib._base.Act import Act
2023-11-08 15:28:01 +08:00
class MoveTo(Act):
2023-11-08 16:20:02 +08:00
def __init__(self, *args):
super().__init__(*args)
def setup(self, **kwargs: Any) -> None:
return super().setup(**kwargs)
def initialise(self) -> None:
return super().initialise()
2023-10-25 22:12:15 +08:00
def _update(self) -> ptree.common.Status:
print('Start checking IsChatting...')
return ptree.common.Status.SUCCESS
def terminate(self, new_status: ptree.common.Status) -> None:
return super().terminate(new_status)