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.
 
 
 
 
 
 

16 lines
447 B

from decoupled_wbc.control.teleop.pre_processor.pre_processor import PreProcessor
class FingersPreProcessor(PreProcessor):
"""Dummy class just takes out the fingers from the data."""
def __init__(self, side: str):
super().__init__()
self.side = side
def __call__(self, data):
return data[f"{self.side}_fingers"]
# TODO: calibrate max and min
def calibrate(self, data, control_device):
pass