2022-06-30 17:33:05 +02:00
|
|
|
from alr_envs.black_box.controller.base_controller import BaseController
|
2022-05-03 19:51:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
class VelController(BaseController):
|
|
|
|
"""
|
2022-06-29 09:37:18 +02:00
|
|
|
A Velocity Controller. The tracking_controller calculates a response only based on the desired velocity.
|
2022-05-03 19:51:54 +02:00
|
|
|
"""
|
|
|
|
def get_action(self, des_pos, des_vel, c_pos, c_vel):
|
|
|
|
return des_vel
|