You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
361 B
19 lines
361 B
"""Abstract base class for teleoperation solvers (e.g., IK for hands)."""
|
|
|
|
from abc import ABC, abstractmethod
|
|
from typing import Any
|
|
|
|
|
|
class Solver(ABC):
|
|
def __init__(self):
|
|
pass
|
|
|
|
def register_robot(self, robot):
|
|
pass
|
|
|
|
def calibrate(self, data):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def __call__(self, target) -> Any:
|
|
pass
|