mpc_python_learn/mpc_demo/mpc_config.py

7 lines
218 B
Python

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