2024-10-07 16:20:56 +08:00
|
|
|
from PytorchBoot.application import PytorchBootApplication
|
2024-10-13 15:24:41 +08:00
|
|
|
from runners.cad_open_loop_strategy import CADOpenLoopStrategyRunner
|
|
|
|
from runners.cad_close_loop_strategy import CADCloseLoopStrategyRunner
|
2024-10-07 16:20:56 +08:00
|
|
|
|
2024-10-13 15:24:41 +08:00
|
|
|
|
|
|
|
@PytorchBootApplication("cad_ol")
|
|
|
|
class AppCADOpenLoopStrategy:
|
|
|
|
@staticmethod
|
|
|
|
def start():
|
|
|
|
CADOpenLoopStrategyRunner("configs/cad_open_loop_config.yaml").run()
|
|
|
|
|
|
|
|
@PytorchBootApplication("cad_cl")
|
|
|
|
class AppCADCloseLoopStrategy:
|
2024-10-07 16:20:56 +08:00
|
|
|
@staticmethod
|
|
|
|
def start():
|
2024-10-13 15:24:41 +08:00
|
|
|
CADCloseLoopStrategyRunner("configs/cad_close_loop_config.yaml").run()
|