fancy_gym/alr_envs/mp/controllers/pos_controller.py

10 lines
312 B
Python
Raw Normal View History

2022-05-03 19:51:54 +02:00
from alr_envs.mp.controllers.base_controller import BaseController
class PosController(BaseController):
"""
2022-06-29 09:37:18 +02:00
A Position Controller. The tracking_controller calculates a response only based on the desired position.
2022-05-03 19:51:54 +02:00
"""
def get_action(self, des_pos, des_vel, c_pos, c_vel):
return des_pos