Model-Predictive-Control
Model-Predictive-Control copied to clipboard
Polyfit error when the trajectory is a vertical line
If using y(x) to fit the trajectory, sometimes the trajectory is like a vertical line x = k, and polyfit may fail. How do you handle this? Thx