RoboWaiter/robowaiter/behavior_lib/act/MoveTo.py

22 lines
623 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):
def __init__(self, name: str, scene, a, b, c, d):
super().__init__(name)
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)