fancy_gym/alr_envs/black_box/controller/pos_controller.py
2022-06-30 17:33:05 +02:00

10 lines
318 B
Python

from alr_envs.black_box.controller.base_controller import BaseController
class PosController(BaseController):
"""
A Position Controller. The tracking_controller calculates a response only based on the desired position.
"""
def get_action(self, des_pos, des_vel, c_pos, c_vel):
return des_pos