18 lines
454 B
Python
18 lines
454 B
Python
from lerobot.teleoperators import Teleoperator
|
|
|
|
|
|
class UFBaseTeleop(Teleoperator):
|
|
config_class = None
|
|
name = "Base Teleop For UFACTORY"
|
|
|
|
def __init__(self, config):
|
|
super().__init__(config)
|
|
self.config = config
|
|
|
|
def set_teleop_enabled(self, enabled: bool, obs=None):
|
|
"""
|
|
启用/停用遥操作
|
|
当enabled为True且obs不为None时, 顺便设置机械臂初始位置映射
|
|
"""
|
|
pass
|