mpc_python_learn/mpc_pybullet_demo/mpc_config.py

8 lines
248 B
Python
Raw Normal View History

2020-06-30 18:05:30 +08:00
class Params():
def __init__(self):
2020-07-01 22:59:13 +08:00
self.N = 4 #number of state variables
2020-06-30 18:05:30 +08:00
self.M = 2 #number of control variables
2020-07-01 22:59:13 +08:00
self.T = 10 #Prediction Horizon
2020-06-30 18:05:30 +08:00
self.dt = 0.25 #discretization step
self.path_tick = 0.05