mpc_python_learn/mpc_demo_v2/mpc_config.py

7 lines
218 B
Python

class Params():
def __init__(self):
self.N = 3 #number of state variables
self.M = 2 #number of control variables
self.T = 20 #Prediction Horizon
self.dt = 0.25 #discretization step