fancy_gym/alr_envs/mp/controllers/vel_controller.py
2022-05-03 19:51:54 +02:00

10 lines
303 B
Python

from alr_envs.mp.controllers.base_controller import BaseController
class VelController(BaseController):
"""
A Velocity Controller. The controller calculates a response only based on the desired velocity.
"""
def get_action(self, des_pos, des_vel, c_pos, c_vel):
return des_vel