Skip to content

Commit

Permalink
another small bug with sot
Browse files Browse the repository at this point in the history
  • Loading branch information
nurkanovic committed Jun 20, 2024
1 parent 31898d7 commit 2a26b2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/new_design_examples/new_design_car_time_opt.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
problem_options.dcs_mode = "Heaviside"; % or "Heaviside"
problem_options.time_optimal_problem = true;
problem_options.step_equilibration = StepEquilibrationMode.linear_complementarity;
problem_options.use_fesd = 0;
problem_options.use_fesd = 1;
problem_options.use_speed_of_time_variables = 1;
problem_options.local_speed_of_time_variable = 1;
%% Create model
model = nosnoc.model.Pss();
q = SX.sym('q');
Expand Down

0 comments on commit 2a26b2c

Please sign in to comment.