CMM-22 / a6

0 stars 0 forks source link

Ex. 8 large u #9

Open billyzs opened 2 years ago

billyzs commented 2 years ago

I noticed that my solution for Ex.8 favors larger values of u compared with shooting; otherwise the optimization solution does not match physics. Wondering if it's because of a mistake in my code, or is this the result of e.g. smaller value for K.

MiguelZamoraM commented 2 years ago

Generally speaking, if your time horizon is shorter your control actions might be more aggressive (larger) since you are trying to solve a task in a short time window.

You could try to set the same K for both examples and compare the magnitudes of U.