Commit Graph

58 Commits (a94c59c48915d3c8b084be068ced71f895e69b21)

Author SHA1 Message Date
EmaMaker a94c59c489 activeset 2024-10-06 19:11:42 +02:00
EmaMaker 9fcadcde54 leave other non-working examples in the code 2024-09-26 23:15:08 +02:00
EmaMaker cceb2f1379 minimize vcorr^2 on correction before decoupling 2024-09-26 19:39:40 +02:00
EmaMaker 41f0d66851 correction is on untrasformed inputs, but cost and constraints are on robot inputs 2024-09-16 18:04:18 +02:00
EmaMaker ceb7659bcc misc tests 2024-09-13 20:26:01 +02:00
EmaMaker ee076259ca also plot trajectory and error relative to output position 2024-09-13 20:25:25 +02:00
EmaMaker 57790779d7 tesi: fix output position vector 2024-09-13 20:24:44 +02:00
EmaMaker 854247dee1 [IMPROVE] build A_deq outside for loop 2024-09-11 22:20:31 +02:00
EmaMaker a9bf86cda8 big refactor of branches into a single codebase
using flags to switch between tests and robot types
2024-09-11 19:34:41 +02:00
EmaMaker f5a4bc0c51 cleanup files and code 2024-09-11 15:17:05 +02:00
EmaMaker ca49a61744 plot: revise plots 2024-09-11 15:06:03 +02:00
EmaMaker 9d49b16d23 change ddr parameters to have the same v as unicycle 2024-09-10 21:29:39 +02:00
EmaMaker ad1419a694 mark the passing of time
this would sound more ominous if commit messages supported italics
2024-09-10 21:29:15 +02:00
EmaMaker 73e149771e tesi: also save cartesian output 2024-09-10 21:17:56 +02:00
EmaMaker 397bda10f5 tesi: save workspace before saving figures 2024-09-10 21:17:22 +02:00
EmaMaker f90e3bdb68 control_act: make correction refer to w_r, w_l
This fixes a substantial bug with 1-step and multistep behaving
differently than track-only

for more information: see notes 10/09/24, but basically what was
  happening was that just v^{corr} was being minimized, for how the
  constraints were built
2024-09-10 21:09:32 +02:00
EmaMaker 3ddb3ec4ca control_act: 1-step into its own if-statement 2024-09-10 21:07:32 +02:00
EmaMaker f5972fd508 plot_trajectory: bigger axis, legend 2024-09-09 16:10:51 +02:00
EmaMaker 08a5df3cc7 plots: increase font size for better reading in ppt 2024-09-07 19:31:47 +02:00
EmaMaker f4067fe7d2 plots: plot more differences 2024-09-06 15:49:49 +02:00
EmaMaker cbd177342d plot_error: change ylabel 2024-09-06 15:49:32 +02:00
EmaMaker 30540c1bc8 sistema_discr: better comments 2024-09-06 15:49:04 +02:00
= 6b726d8c56 use correct straightlight/abrupt_stop_chill 2024-09-01 18:50:43 +02:00
= f63d8c153c remove tests_old 2024-08-31 16:25:11 +02:00
= 9cf24a1983 plots: horizontal and vertical inputs 2024-08-31 16:25:05 +02:00
= 0ecae887f7 plot_error: plot average 2024-08-31 13:57:52 +02:00
= 8e87f9b006 file cleanup + recompile all videos 2024-08-30 16:51:21 +02:00
EmaMaker a9622f1f00 export everything to dedicated diffdrive folder 2024-08-29 19:36:11 +02:00
EmaMaker 3b0257adf2 control_act: use blkdiag to build A_deq 2024-08-28 16:12:22 +02:00
EmaMaker 6661dd8f52 split plot into different files
just to generate nice pictures for the report

+ plus make gifs from animations
2024-08-28 16:12:17 +02:00
EmaMaker 6248525cbe a nice battery of tests 2024-08-28 16:11:49 +02:00
EmaMaker 7959cdcbd9 play around with values 2024-08-01 12:23:49 +02:00
EmaMaker 713a010eb4 tesi: save composites 2024-08-01 12:23:49 +02:00
EmaMaker ef8a12166a save history of predicted trajectory for video 2024-08-01 12:23:49 +02:00
EmaMaker 4e375a70f1 optimization: collapse function calls into sistema_discr
at the expense of "modularity" but don't really need it at this point
2024-08-01 12:23:49 +02:00
EmaMaker c02aa51088 extend unicycle to differential drive 2024-08-01 12:23:49 +02:00
EmaMaker ce50ac13d4 general file cleanup 2024-08-01 12:23:49 +02:00
EmaMaker e247a422b6 single thread main file 2024-08-01 12:23:43 +02:00
EmaMaker 318b2f6c02 another initial condition 2024-08-01 12:23:43 +02:00
EmaMaker 0c9f715fd6 trajectory: add square 2024-08-01 12:23:43 +02:00
EmaMaker 67167598d9 control_act: fix multi-step mpc 2024-08-01 12:23:43 +02:00
EmaMaker 58d14dcf9e trajectory: cardioid 2024-08-01 12:23:43 +02:00
EmaMaker 690013fd1b update .gitignore 2024-08-01 12:23:38 +02:00
EmaMaker 98d24dd3e4 new trajectories and initial conditions 2024-07-27 14:51:23 +02:00
EmaMaker 78f9515f45 general: allow to run multiple tests back to back and save results 2024-07-27 14:50:46 +02:00
EmaMaker 1900526b81 bug: fix u_corr_history not being saved between different calls to u_corr()
+ plot u_track and u_corr
2024-07-26 20:13:43 +02:00
EmaMaker 89cb27ff49 restructure code to allow execution in parallel
these commits are so messy
2024-07-24 14:57:19 +02:00
EmaMaker ec8b2dcecb multi-step MPC
seems to be working?
2024-07-24 11:49:34 +02:00
EmaMaker 02fdac42e3 rename state x to q 2024-07-23 18:07:50 +02:00
EmaMaker 44f65aed77 1-step mpc 2024-07-16 10:58:00 +02:00