10 lines
303 B
Python
10 lines
303 B
Python
|
from alr_envs.mp.controllers.base_controller import BaseController
|
||
|
|
||
|
|
||
|
class PosController(BaseController):
|
||
|
"""
|
||
|
A Position Controller. The 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
|